rust/tests/ui/attributes/used-issue-126789.rs

7 lines
121 B
Rust
Raw Normal View History

extern "C" {
#[used] //~ ERROR attribute must be applied to a `static` variable
static FOO: i32;
}
fn main() {}