1 // compile-flags:-F private_no_mangle_fns -F no_mangle_const_items -F private_no_mangle_statics
9 const FOO: u64 = 1; //~ ERROR const items should never be `#[no_mangle]`
12 pub const PUB_FOO: u64 = 1; //~ ERROR const items should never be `#[no_mangle]`
19 pub static BAR: u64 = 1;
23 static PRIVATE_BAR: u64 = 1;