about summary refs log tree commit diff
path: root/tests/codegen/ptr-arithmetic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/ptr-arithmetic.rs')
-rw-r--r--tests/codegen/ptr-arithmetic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/ptr-arithmetic.rs b/tests/codegen/ptr-arithmetic.rs
index 6f115d33d8d..ecb44b30f5c 100644
--- a/tests/codegen/ptr-arithmetic.rs
+++ b/tests/codegen/ptr-arithmetic.rs
@@ -1,4 +1,4 @@
-//@ compile-flags: -O -Z merge-functions=disabled
+//@ compile-flags: -Copt-level=3 -Z merge-functions=disabled
 
 #![crate_type = "lib"]