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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}