about summary refs log tree commit diff
path: root/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs')
-rw-r--r--tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs b/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs
index c3eb1a5968a..e9dd0d1bf23 100644
--- a/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs
+++ b/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs
@@ -1,7 +1,7 @@
 // This test checks that bounds checks are elided when
 // index is part of a (x | y) < C style condition
 
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 
 #![crate_type = "lib"]