From: NAKAMURA Takumi Date: Thu, 14 Aug 2014 00:23:30 +0000 (+0000) Subject: clang/test/Modules/cxx-irgen.cpp: Let it tolerant of x86_thiscallcc. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30f2e7ad807402618f7e055516e523cc6b1b1b42;p=clang clang/test/Modules/cxx-irgen.cpp: Let it tolerant of x86_thiscallcc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215607 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/cxx-irgen.cpp b/test/Modules/cxx-irgen.cpp index 4c6d81d203..ecaf704b87 100644 --- a/test/Modules/cxx-irgen.cpp +++ b/test/Modules/cxx-irgen.cpp @@ -13,15 +13,15 @@ CtorInit x; // Keep these two namespace definitions separate; merging them hides the bug. namespace EmitInlineMethods { - // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1C1fEPNS_1AE( - // CHECK-DAG: declare void @_ZN17EmitInlineMethods1A1gEv( + // CHECK-DAG: define linkonce_odr [[CC:(x86_thiscallcc[ ]+)?]]void @_ZN17EmitInlineMethods1C1fEPNS_1AE( + // CHECK-DAG: declare [[CC]]void @_ZN17EmitInlineMethods1A1gEv( struct C { __attribute__((used)) void f(A *p) { p->g(); } }; } namespace EmitInlineMethods { - // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1D1fEPNS_1BE( - // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1B1gEv( + // CHECK-DAG: define linkonce_odr [[CC]]void @_ZN17EmitInlineMethods1D1fEPNS_1BE( + // CHECK-DAG: define linkonce_odr [[CC]]void @_ZN17EmitInlineMethods1B1gEv( struct D { __attribute__((used)) void f(B *p) { p->g(); } };