about summary refs log tree commit diff
path: root/tests/codegen/vec-shrink-panik.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/vec-shrink-panik.rs')
-rw-r--r--tests/codegen/vec-shrink-panik.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/vec-shrink-panik.rs b/tests/codegen/vec-shrink-panik.rs
index 873904c2569..23dd300d48c 100644
--- a/tests/codegen/vec-shrink-panik.rs
+++ b/tests/codegen/vec-shrink-panik.rs
@@ -1,6 +1,6 @@
 // LLVM 17 realizes double panic is not possible and doesn't generate calls
 // to panic_cannot_unwind.
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 //@ ignore-std-debug-assertions (plain old debug assertions)
 //@ needs-unwind
 #![crate_type = "lib"]