]> granicus.if.org Git - clang/commitdiff
clang/test/SemaCXX/sourceranges.cpp: Fix silly expressions. Sorry for the breakage.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 4 Sep 2015 11:49:36 +0000 (11:49 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 4 Sep 2015 11:49:36 +0000 (11:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246850 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/sourceranges.cpp

index 5c275a1790d900b6161e67209d5fc07ddc2ed22f..2f8eb2f2b96c1f04758e894b222380085c895c34 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ast-dump %s | FileCheck %s
+// RUN: %clang_cc1 -triple i686-mingw32 -ast-dump %s | FileCheck %s
 
 template<class T>
 class P {
@@ -46,7 +46,7 @@ struct D {
 void construct() {
   using namespace foo;
   A a = A(12);
-  // CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'class foo::A' 'void (int){{ __attribute__\(\(thiscall\)\)?}}'
+  // CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'class foo::A' 'void (int){{( __attribute__\(\(thiscall\)\))?}}'
   D d = D(12);
-  // CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'struct D' 'void (int){{ __attribute__\(\(thiscall\)\)?}}'
+  // CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'struct D' 'void (int){{( __attribute__\(\(thiscall\)\))?}}'
 }