rust/tests/ui/attributes/used_with_multi_args.rs

7 lines
175 B
Rust
Raw Normal View History

#![feature(used_with_arg)]
#[used(compiler, linker)] //~ expected `used`, `used(compiler)` or `used(linker)`
static mut USED_COMPILER_LINKER: [usize; 1] = [0];
fn main() {}