1 // Check that type privacy is taken into account when considering reachability
5 #![feature(decl_macro, staged_api)]
6 #![stable(feature = "test", since = "1.0.0")]
8 // Type privacy should prevent use of these in other crates, so we shouldn't
9 // need a stability annotation.
10 fn private_function() {}
11 struct PrivateStruct { f: () }
12 enum PrivateEnum { V }
13 union PrivateUnion { g: () }
16 #[stable(feature = "test", since = "1.0.0")]