2 static FOO: u32 = 0; // OK
4 #[used] //~ ERROR attribute must be applied to a `static` variable
7 #[used] //~ ERROR attribute must be applied to a `static` variable
10 #[used] //~ ERROR attribute must be applied to a `static` variable
13 #[used] //~ ERROR attribute must be applied to a `static` variable