diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-24 21:03:48 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-24 21:03:48 +0000 |
| commit | 6536f6058d5dc096acba71c064c11ce614c70843 (patch) | |
| tree | ba141ffd2475a03fc9dca7d229bb0e0143fc1dbd /clang | |
| parent | 85824ee618bc9bb053aea270db63ac713ad884f1 (diff) | |
| download | bcm5719-llvm-6536f6058d5dc096acba71c064c11ce614c70843.tar.gz bcm5719-llvm-6536f6058d5dc096acba71c064c11ce614c70843.zip | |
Strengthen test from r292632 to also check we get the mangling correct for this case.
llvm-svn: 292978
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGenCXX/mangle.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 229a0799d1b..91fe6aeef29 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -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); } } |

