Skip to content

Commit

Permalink
Fix another UI test that needs its unused variables preserved
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Jul 4, 2024
1 parent 00aceae commit 1e10428
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ui/extern/extern-types-field-offset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//@ check-run-results
//@ exec-env:RUST_BACKTRACE=0
//@ normalize-stderr-test: "(core/src/panicking\.rs):[0-9]+:[0-9]+" -> "$1:$$LINE:$$COL"
//@ compile-flags: -Z mir-opt-level=0
// (Don't optimize out the unused locals, so that we actually compute the offsets.)
#![feature(extern_types)]

extern "C" {
Expand Down

0 comments on commit 1e10428

Please sign in to comment.