about summary refs log tree commit diff
path: root/tests/codegen/static-relocation-model-msvc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/static-relocation-model-msvc.rs')
-rw-r--r--tests/codegen/static-relocation-model-msvc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/static-relocation-model-msvc.rs b/tests/codegen/static-relocation-model-msvc.rs
index 8ed8331466c..4d30e6ec505 100644
--- a/tests/codegen/static-relocation-model-msvc.rs
+++ b/tests/codegen/static-relocation-model-msvc.rs
@@ -1,6 +1,6 @@
 // Verify linkage of external symbols in the static relocation model on MSVC.
 //
-//@ compile-flags: -O -C relocation-model=static
+//@ compile-flags: -Copt-level=3 -C relocation-model=static
 //@ aux-build: extern_decl.rs
 //@ only-x86_64-pc-windows-msvc