rust/tests/ui/attributes/used_with_multi_args.rs
2023-01-11 09:32:08 +00:00

7 lines
175 B
Rust

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