]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/used_with_arg_no_mangle.rs
Auto merge of #99963 - cjgillot:iter-submodule, r=compiler-errors
[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() {}