1 // Crate that exports a const fn. Used for testing cross-crate.
4 #![stable(feature = "rust1", since = "1.0.0")]
6 #![feature(staged_api)]
8 #[stable(feature = "rust1", since = "1.0.0")]
9 #[rustc_const_unstable(feature="foo", issue = "none")]
10 pub const fn foo() -> u32 { 42 }