about summary refs log tree commit diff
path: root/tests/codegen/binary-search-index-no-bound-check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/binary-search-index-no-bound-check.rs')
-rw-r--r--tests/codegen/binary-search-index-no-bound-check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/binary-search-index-no-bound-check.rs b/tests/codegen/binary-search-index-no-bound-check.rs
index a213c015a40..d59c0beec64 100644
--- a/tests/codegen/binary-search-index-no-bound-check.rs
+++ b/tests/codegen/binary-search-index-no-bound-check.rs
@@ -1,4 +1,4 @@
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 #![crate_type = "lib"]
 
 // Make sure no bounds checks are emitted when slicing or indexing