1 // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 #![crate_type = "lib"]
13 static private: isize = 0;
14 pub static public: isize = 0;
23 pub static a: isize = 0;
35 // these are public so the parent can reexport them.
36 pub static reexported_a: isize = 0;
37 pub fn reexported_b() {}
38 pub struct reexported_c;
39 pub enum reexported_d {}
40 pub type reexported_e = isize;
44 pub use foo::reexported_a as e;
45 pub use foo::reexported_b as f;
46 pub use foo::reexported_c as g;
47 pub use foo::reexported_d as h;
48 pub use foo::reexported_e as i;
51 pub static a: isize = 0;