Add ub-checks to slice_index MIR-opt test

This commit is contained in:
Scott McMurray 2024-06-11 21:25:45 -07:00
parent 3fc81daffd
commit 17a9d3498b
1 changed files with 1 additions and 1 deletions

View File

@ -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"]