forked from OSchip/llvm-project
Strengthen test from r292632 to also check we get the mangling correct for this case.
llvm-svn: 292978
This commit is contained in:
parent
85824ee618
commit
6536f6058d
|
@ -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); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue