Skip to content

Commit

Permalink
Add ub-checks to slice_index MIR-opt test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Jun 12, 2024
1 parent 9a7bf4a commit 4314bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/pre-codegen/slice_index.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// skip-filecheck
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Z ub-checks=yes
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY

#![crate_type = "lib"]
Expand Down

0 comments on commit 4314bd7

Please sign in to comment.