summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/used_with_multi_args.rs
blob: 2e17fcfd7a4933cbcb31cfaf6dcea30f19f425b8 (plain)
1
2
3
4
5
6
#![feature(used_with_arg)]

#[used(compiler, linker)] //~ expected `used`, `used(compiler)` or `used(linker)`
static mut USED_COMPILER_LINKER: [usize; 1] = [0];

fn main() {}