rust/tests/ui/linkage-attr/linkage4.rs
2023-01-11 09:32:08 +00:00

6 lines
131 B
Rust

#[linkage = "external"]
static foo: isize = 0;
//~^^ ERROR: the `linkage` attribute is experimental and not portable
fn main() {}