commit | bdaaab4671bccb5453837f982e062fb5407d59b4 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sat Sep 26 02:26:02 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sat Sep 26 02:26:02 2009 +0000 |
tree | 5b0579dd42063858d7f34b9516f1e2974915c5b6 | |
parent | 47680d8040b7a752960c60ce33addfb25d13e76f [diff] [blame] |
Improve mangling of typename types. llvm-svn: 82833
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 306188c..b61f1d0 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp
@@ -147,3 +147,11 @@ // CHECK: @_ZNK5DebuglsEj int main(void) { dbg << 32 ;} } + +template<typename T> struct S6 { + typedef int B; +}; + +template<typename T> void ft5(typename S6<T>::B) { } +// CHECK: @_Z3ft5IiEvN2S6IT_E1BE +template void ft5<int>(int);