]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/used_with_arg_no_mangle.rs
Rollup merge of #100115 - obeis:issue-99910, r=cjgillot
[rust.git] / src / test / ui / attributes / used_with_arg_no_mangle.rs
1 // check-pass
2
3 #![feature(used_with_arg)]
4
5 #[used(linker)]
6 #[no_mangle] // accidentally detected as `used(compiler)`
7 pub static GLOB: usize = 0;
8
9 fn main() {}