mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
fix linkage tests
This commit is contained in:
parent
0112f3b098
commit
1fffdafe41
@ -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
|
||||
}
|
||||
|
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user