rust/tests/ui/attributes/used_with_arg_no_mangle.rs
2024-02-16 20:02:50 +00:00

10 lines
160 B
Rust

//@ check-pass
#![feature(used_with_arg)]
#[used(linker)]
#[no_mangle] // accidentally detected as `used(compiler)`
pub static GLOB: usize = 0;
fn main() {}