Skip to content

Commit eb45146

Browse files
committed
Remove BAR for run-make/used.rs
1 parent b564b70 commit eb45146

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/run-make/used/rmake.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ use run_make_support::symbols::any_symbol_contains;
1010
fn main() {
1111
rustc().opt_level("3").emit("obj").input("used.rs").run();
1212
assert!(any_symbol_contains("used.o", &["FOO"]));
13-
assert!(!any_symbol_contains("used.o", &["BAR"]));
1413
}

tests/run-make/used/used.rs

-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22

33
#[used]
44
static FOO: u32 = 0;
5-
6-
static BAR: u32 = 0;

0 commit comments

Comments
 (0)