r292978 - Strengthen test from r292632 to also check we get the mangling correct for this case.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 13:03:48 PST 2017
Author: rsmith
Date: Tue Jan 24 15:03:48 2017
New Revision: 292978
URL: http://llvm.org/viewvc/llvm-project?rev=292978&view=rev
Log:
Strengthen test from r292632 to also check we get the mangling correct for this case.
Modified:
cfe/trunk/test/CodeGenCXX/mangle.cpp
Modified: cfe/trunk/test/CodeGenCXX/mangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle.cpp?rev=292978&r1=292977&r2=292978&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/mangle.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mangle.cpp Tue Jan 24 15:03:48 2017
@@ -1130,9 +1130,10 @@ namespace test58 {
struct State {
bool m_fn1();
} a;
- template <class T> struct identity_ { typedef T type; };
+ template <class T> struct identity { typedef T type; };
struct A {
- template <typename T> A(T, bool (identity_<T>::type::*)());
+ template <typename T> A(T, bool (identity<T>::type::*)());
};
+ // CHECK-LABEL: @_ZN6test581AC1INS_5StateEEET_MNS_8identityIS3_E4typeEFbvE
void fn1() { A(a, &State::m_fn1); }
}
More information about the cfe-commits
mailing list