r246850 - clang/test/SemaCXX/sourceranges.cpp: Fix silly expressions. Sorry for the breakage.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 4 04:49:36 PDT 2015


Author: chapuni
Date: Fri Sep  4 06:49:36 2015
New Revision: 246850

URL: http://llvm.org/viewvc/llvm-project?rev=246850&view=rev
Log:
clang/test/SemaCXX/sourceranges.cpp: Fix silly expressions. Sorry for the breakage.

Modified:
    cfe/trunk/test/SemaCXX/sourceranges.cpp

Modified: cfe/trunk/test/SemaCXX/sourceranges.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/sourceranges.cpp?rev=246850&r1=246849&r2=246850&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/sourceranges.cpp (original)
+++ cfe/trunk/test/SemaCXX/sourceranges.cpp Fri Sep  4 06:49:36 2015
@@ -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\)\))?}}'
 }




More information about the cfe-commits mailing list