summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-used_with_arg.rs
blob: 1c8f01bdef116b62b37e21d02f7b864aba5ff206 (plain)
1
2
3
4
5
6
7
#[used(linker)] //~ ERROR `#[used(linker)]` is currently unstable
static mut USED_LINKER: [usize; 1] = [0];

#[used(compiler)] //~ ERROR `#[used(compiler)]` is currently unstable
static mut USED_COMPILER: [usize; 1] = [0];

fn main() {}