about summary refs log tree commit diff
path: root/tests/codegen/debuginfo-constant-locals.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/debuginfo-constant-locals.rs')
-rw-r--r--tests/codegen/debuginfo-constant-locals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/debuginfo-constant-locals.rs b/tests/codegen/debuginfo-constant-locals.rs
index c8f1d964722..580c69c05a5 100644
--- a/tests/codegen/debuginfo-constant-locals.rs
+++ b/tests/codegen/debuginfo-constant-locals.rs
@@ -1,4 +1,4 @@
-//@ compile-flags: -g -O
+//@ compile-flags: -g -Copt-level=3
 
 // Check that simple constant values are preserved in debuginfo across both MIR opts and LLVM opts