summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/optnone-def-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/optnone-def-decl.cpp')
-rw-r--r--test/CodeGenCXX/optnone-def-decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/optnone-def-decl.cpp b/test/CodeGenCXX/optnone-def-decl.cpp
index 0240189c5089..4008bbe685f3 100644
--- a/test/CodeGenCXX/optnone-def-decl.cpp
+++ b/test/CodeGenCXX/optnone-def-decl.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -triple %itanium_abi_triple -fms-extensions -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple %itanium_abi_triple -fms-extensions -O2 -disable-llvm-optzns -emit-llvm -o - | FileCheck %s
// Test optnone on both function declarations and function definitions.
// Verify also that we don't generate invalid IR functions with