Remove BAR for run-make/used.rs

This commit is contained in:
Chris Denton 2024-08-03 13:01:34 +00:00
parent b564b70d1c
commit eb451464a7
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
2 changed files with 0 additions and 3 deletions

View File

@ -10,5 +10,4 @@
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"]));
}

View File

@ -2,5 +2,3 @@
#[used]
static FOO: u32 = 0;
static BAR: u32 = 0;