aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/stack-reuse-miscompile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/stack-reuse-miscompile.cpp')
-rw-r--r--test/CodeGenCXX/stack-reuse-miscompile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/stack-reuse-miscompile.cpp b/test/CodeGenCXX/stack-reuse-miscompile.cpp
index 63d15fd1e8c9..3b860a573955 100644
--- a/test/CodeGenCXX/stack-reuse-miscompile.cpp
+++ b/test/CodeGenCXX/stack-reuse-miscompile.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang -S -target armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -mllvm -disable-llvm-optzns -S %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -disable-llvm-passes -std=c++03 %s -o - | FileCheck %s
// This test should not to generate llvm.lifetime.start/llvm.lifetime.end for
// f function because all temporary objects in this function are used for the