summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-linkage.rs
blob: 505f31ec6388d1d2bf4ce3a8b50ab77206527412 (plain)
1
2
3
4
5
6
extern "C" {
    #[linkage = "extern_weak"] static foo: *mut isize;
    //~^ ERROR: the `linkage` attribute is experimental and not portable
}

fn main() {}