]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-9968.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-9968.rs
index 70338bd0f32b4d80e760b70291fc7e16f5c0504c..2c9382be9b17c82768fe9e3cdab9fc44ceeb91f7 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.
 //
@@ -8,14 +8,13 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-fast windows doesn't like extern mod
 // aux-build:issue-9968.rs
 
-extern mod lib(name = "issue-9968");
+extern crate "issue-9968" as lib;
 
 use lib::{Trait, Struct};
 
-fn main()
+pub fn main()
 {
     Struct::init().test();
 }