r290145 - Make another test insensitive to the default C++ dialect.

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 15:32:11 PST 2016


Author: probinson
Date: Mon Dec 19 17:32:10 2016
New Revision: 290145

URL: http://llvm.org/viewvc/llvm-project?rev=290145&view=rev
Log:
Make another test insensitive to the default C++ dialect.

Differential Revision: http://reviews.llvm.org/D27955

Modified:
    cfe/trunk/test/CodeGenCXX/arm-swiftcall.cpp

Modified: cfe/trunk/test/CodeGenCXX/arm-swiftcall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/arm-swiftcall.cpp?rev=290145&r1=290144&r2=290145&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/arm-swiftcall.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/arm-swiftcall.cpp Mon Dec 19 17:32:10 2016
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -o - %s -Wno-return-type-c-linkage | FileCheck %s
+// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -o - %s -Wno-return-type-c-linkage -std=c++03 | FileCheck %s -check-prefixes=CHECK
 
 // This isn't really testing anything ARM-specific; it's just a convenient
 // 32-bit platform.




More information about the cfe-commits mailing list