]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-4208.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-4208.rs
index 4328dc7d5f912d8d81f1ae88e2127abbd6225fe3..c186f1e57f9a1dab6b8ef92b335f1b5a8315c275 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -9,11 +9,10 @@
 // except according to those terms.
 
 // aux-build:issue-4208-cc.rs
-// xfail-fast - Windows hates cross-crate tests
 
-extern mod numeric;
+extern crate numeric;
 use numeric::{sin, Angle};
 
 fn foo<T, A:Angle<T>>(theta: A) -> T { sin(&theta) }
 
-fn main() {}
+pub fn main() {}