From 94f08334e0839689ff1c959ffaefa4ca19bd26f5 Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Wed, 8 Dec 2021 22:40:23 -0500 Subject: [PATCH] add // compile-flags: -O to test that depends on opts --- src/test/codegen/dst-vtable-align-nonzero.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/codegen/dst-vtable-align-nonzero.rs b/src/test/codegen/dst-vtable-align-nonzero.rs index 00f82885d65..021c7b19f89 100644 --- a/src/test/codegen/dst-vtable-align-nonzero.rs +++ b/src/test/codegen/dst-vtable-align-nonzero.rs @@ -1,3 +1,5 @@ +// compile-flags: -O + #![crate_type = "lib"] // This test checks that we annotate alignment loads from vtables with nonzero range metadata,