]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/osx-frameworks.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / osx-frameworks.rs
index cfb7a8e43befa10d9f5c885fcce102770e08be37..aa4e91320f755b7191aef46ab1f8cfdd9f192677 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::libc;
+extern crate libc;
 
 #[cfg(target_os = "macos")]
 #[link(name = "CoreFoundation", kind = "framework")]
@@ -17,7 +17,7 @@
 }
 
 #[cfg(target_os = "macos")]
-fn main() {
+pub fn main() {
     unsafe { CFRunLoopGetTypeID(); }
 }