clang/test/SemaCXX/sourceranges.cpp: Appease win32. Class method is thiscall for targeting i686-(msvc|mingw32).

llvm-svn: 246849
This commit is contained in:
NAKAMURA Takumi 2015-09-04 11:40:31 +00:00
parent 44077da1b7
commit 9d86ef30b5
1 changed files with 2 additions and 2 deletions

View File

@ -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)'
// 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)'
// CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'struct D' 'void (int){{ __attribute__\(\(thiscall\)\)?}}'
}