aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-06 18:45:16 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-06 18:45:16 +0000
commitba397fe24468fae6cb46f259a3f946770163bfe2 (patch)
tree183734e5cfe30ab0bfdda92acae35ab133af04f4 /test/CodeGenCXX/debug-info.cpp
parentafb32f721a416e7a96f0fa3f05a9a363a67507dc (diff)
Handle QualifiedNameType and SubstTemplateTypeParmType types in CGDebugInfo::CreateTypeNode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info.cpp')
-rw-r--r--test/CodeGenCXX/debug-info.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp
new file mode 100644
index 0000000000..2a141857cf
--- /dev/null
+++ b/test/CodeGenCXX/debug-info.cpp
@@ -0,0 +1,6 @@
+// RUN: clang-cc -emit-llvm-only -g
+template<typename T> struct Identity {
+ typedef T Type;
+};
+
+void f(Identity<int>::Type a) {}