rust/tests/ui/linkage-attr/linkage4.rs

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

6 lines
131 B
Rust
Raw Normal View History

2014-11-12 02:34:18 +00:00
#[linkage = "external"]
static foo: isize = 0;
2015-02-16 19:19:42 +00:00
//~^^ ERROR: the `linkage` attribute is experimental and not portable
2014-11-12 02:34:18 +00:00
fn main() {}