fix linkage tests

This commit is contained in:
Manish Goregaokar 2015-02-17 00:49:42 +05:30
parent 0112f3b098
commit 1fffdafe41
2 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,5 @@
extern { extern {
#[linkage = "extern_weak"] static foo: isize; #[linkage = "extern_weak"] static foo: isize;
//~^ ERROR: the `linkage` attribute is experimental and not portable //~^ ERROR: the `linkage` attribute is experimental and not portable
//~^^ ERROR: the `linkage` attribute is experimental and not portable
} }

View File

@ -10,6 +10,6 @@
#[linkage = "external"] #[linkage = "external"]
static foo: isize = 0; static foo: isize = 0;
//~^ ERROR: the `linkage` attribute is experimental and not portable //~^^ ERROR: the `linkage` attribute is experimental and not portable
fn main() {} fn main() {}