about summary refs log tree commit diff
path: root/tests/codegen/issues/issue-59352.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-08 19:45:40 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-11 13:41:35 -0800
commit3c0c9b6770f1ac0324be91580f52b6f45346e47b (patch)
tree0ca2e1eeec35340e34dbe3f4920f0400f86ed9d1 /tests/codegen/issues/issue-59352.rs
parent4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff)
downloadrust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz
rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/issues/issue-59352.rs')
-rw-r--r--tests/codegen/issues/issue-59352.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/issues/issue-59352.rs b/tests/codegen/issues/issue-59352.rs
index 7bedc3ffc4a..cb4383d4a30 100644
--- a/tests/codegen/issues/issue-59352.rs
+++ b/tests/codegen/issues/issue-59352.rs
@@ -6,7 +6,7 @@
 // test case should be removed as it will become redundant.
 
 // mir-opt-level=3 enables inlining and enables LLVM to optimize away the unreachable panic call.
-//@ compile-flags: -O -Z mir-opt-level=3
+//@ compile-flags: -Copt-level=3 -Z mir-opt-level=3
 
 #![crate_type = "rlib"]