about summary refs log tree commit diff
path: root/tests/codegen/vec-with-capacity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/vec-with-capacity.rs')
-rw-r--r--tests/codegen/vec-with-capacity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/vec-with-capacity.rs b/tests/codegen/vec-with-capacity.rs
index e8c5bc88bd0..777bbcc4fcb 100644
--- a/tests/codegen/vec-with-capacity.rs
+++ b/tests/codegen/vec-with-capacity.rs
@@ -1,4 +1,4 @@
-//@ compile-flags: -O
+//@ compile-flags: -Copt-level=3
 //@ ignore-std-debug-assertions
 // (with debug assertions turned on, `assert_unchecked` generates a real assertion)