rust/tests/ui/feature-gates/feature-gate-linkage.rs

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

7 lines
157 B
Rust
Raw Normal View History

2020-09-01 16:12:52 -05:00
extern "C" {
#[linkage = "extern_weak"] static foo: *mut isize;
//~^ ERROR: the `linkage` attribute is experimental and not portable
}
fn main() {}