diff options
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-subst-std.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle-subst-std.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/mangle-subst-std.cpp b/clang/test/CodeGenCXX/mangle-subst-std.cpp index 04e3e84304e..6277c7af21c 100644 --- a/clang/test/CodeGenCXX/mangle-subst-std.cpp +++ b/clang/test/CodeGenCXX/mangle-subst-std.cpp @@ -15,8 +15,8 @@ namespace std { struct A { A(); }; - // CHECK: define void @_ZNSt1AC1Ev(%"struct.std::A"* %this) unnamed_addr - // CHECK: define void @_ZNSt1AC2Ev(%"struct.std::A"* %this) unnamed_addr + // CHECK-LABEL: define void @_ZNSt1AC1Ev(%"struct.std::A"* %this) unnamed_addr + // CHECK-LABEL: define void @_ZNSt1AC2Ev(%"struct.std::A"* %this) unnamed_addr A::A() { } }; @@ -24,14 +24,14 @@ namespace std { template<typename> struct allocator { }; } -// CHECK: define void @_Z1fSaIcESaIiE +// CHECK-LABEL: define void @_Z1fSaIcESaIiE void f(std::allocator<char>, std::allocator<int>) { } namespace std { template<typename, typename, typename> struct basic_string { }; } -// CHECK: define void @_Z1fSbIcciE +// CHECK-LABEL: define void @_Z1fSbIcciE void f(std::basic_string<char, char, int>) { } namespace std { @@ -90,7 +90,7 @@ namespace std } // Make sure we don't treat the following like std::string -// CHECK: define void @_Z1f12basic_stringIcSt11char_traitsIcESaIcEE +// CHECK-LABEL: define void @_Z1f12basic_stringIcSt11char_traitsIcESaIcEE template<typename, typename, typename> struct basic_string { }; typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string; void f(not_string) { } @@ -106,7 +106,7 @@ namespace N { namespace std { struct A { void f(); }; - // CHECK: define void @_ZN1N3std1A1fEv + // CHECK-LABEL: define void @_ZN1N3std1A1fEv void A::f() { } } } |