summaryrefslogtreecommitdiffstats
path: root/src/test/ui/linkage-attr/linkage4.rs
blob: 3b935f9723dc18000173bd523c45adcb945a8034 (plain)
1
2
3
4
5
#[linkage = "external"]
static foo: isize = 0;
//~^^ ERROR: the `linkage` attribute is experimental and not portable

fn main() {}