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
2 changed files with 0 additions and 3 deletions
-1
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"]));
}
-2
View File
@@ -2,5 +2,3 @@
#[used]
static FOO: u32 = 0;
static BAR: u32 = 0;