about summary refs log tree commit diff
path: root/tests/codegen/layout-size-checks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/layout-size-checks.rs')
-rw-r--r--tests/codegen/layout-size-checks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/layout-size-checks.rs b/tests/codegen/layout-size-checks.rs
index 901f8f822f3..d64a7055e0b 100644
--- a/tests/codegen/layout-size-checks.rs
+++ b/tests/codegen/layout-size-checks.rs
@@ -1,4 +1,4 @@
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 //@ only-x86_64
 
 #![crate_type = "lib"]