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() {}