Skip to content

Commit

Permalink
fix linkage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 16, 2015
1 parent 0112f3b commit 1fffdaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/compile-fail/linkage1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
extern {
#[linkage = "extern_weak"] static foo: isize;
//~^ ERROR: the `linkage` attribute is experimental and not portable
//~^^ ERROR: the `linkage` attribute is experimental and not portable
}
2 changes: 1 addition & 1 deletion src/test/compile-fail/linkage4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

#[linkage = "external"]
static foo: isize = 0;
//~^ ERROR: the `linkage` attribute is experimental and not portable
//~^^ ERROR: the `linkage` attribute is experimental and not portable

fn main() {}

0 comments on commit 1fffdaf

Please sign in to comment.