about summary refs log tree commit diff
path: root/tests/codegen/external-no-mangle-statics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/external-no-mangle-statics.rs')
-rw-r--r--tests/codegen/external-no-mangle-statics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/external-no-mangle-statics.rs b/tests/codegen/external-no-mangle-statics.rs
index a44867ff923..dc4eca8c7b4 100644
--- a/tests/codegen/external-no-mangle-statics.rs
+++ b/tests/codegen/external-no-mangle-statics.rs
@@ -1,6 +1,6 @@
 //@ revisions: lib staticlib
 //@ ignore-emscripten default visibility is hidden
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 //@ [lib] compile-flags: --crate-type lib
 //@ [staticlib] compile-flags: --crate-type staticlib
 // `#[no_mangle]`d static variables always have external linkage, i.e., no `internal` in their