commit | 5b6117a7727565be9fcaf709706c7d720bf191ad | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sat Nov 14 21:08:12 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sat Nov 14 21:08:12 2009 +0000 |
tree | 616ea516d5f89d5eea41b72cb89ee810efbb929e | |
parent | 0dd57c6cf8c6f6e4ee1a8e42daccf8ad1bb6fa4a [diff] [blame] |
Canonicalize the type before trying to create a debug type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88808 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp index ac9aee4..b89435a 100644 --- a/test/CodeGenCXX/debug-info.cpp +++ b/test/CodeGenCXX/debug-info.cpp
@@ -6,3 +6,8 @@ void f(Identity<int>::Type a) {} void f(Identity<int> a) {} void f(int& a) { } + +template<typename T> struct A { + A<T> *next; +}; +void f(A<int>) { }