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

fn main() {}