mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Remove BAR for run-make/used.rs
This commit is contained in:
parent
b564b70d1c
commit
eb451464a7
@ -10,5 +10,4 @@ use run_make_support::symbols::any_symbol_contains;
|
||||
fn main() {
|
||||
rustc().opt_level("3").emit("obj").input("used.rs").run();
|
||||
assert!(any_symbol_contains("used.o", &["FOO"]));
|
||||
assert!(!any_symbol_contains("used.o", &["BAR"]));
|
||||
}
|
||||
|
@ -2,5 +2,3 @@
|
||||
|
||||
#[used]
|
||||
static FOO: u32 = 0;
|
||||
|
||||
static BAR: u32 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user