Skip to content

Commit

Permalink
Remove BAR for run-make/used.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Aug 3, 2024
1 parent b564b70 commit eb45146
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/run-make/used/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 2 deletions tests/run-make/used/used.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@

#[used]
static FOO: u32 = 0;

static BAR: u32 = 0;

0 comments on commit eb45146

Please sign in to comment.