summaryrefslogtreecommitdiffstats
path: root/clang/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
commit8a6512961fb66fafa33953412c221e99a4ad1ae5 (patch)
treecdd6c73dca6136fd3445f5a5c36df23a66d6de6f /clang/test/CodeGenCXX/debug-info.cpp
parentac5eba93ca9cefd9618cde047a3ec45d15f39d14 (diff)
downloadbcm5719-llvm-8a6512961fb66fafa33953412c221e99a4ad1ae5.tar.gz
bcm5719-llvm-8a6512961fb66fafa33953412c221e99a4ad1ae5.zip
Handle QualifiedNameType and SubstTemplateTypeParmType types in CGDebugInfo::CreateTypeNode.
llvm-svn: 86274
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp
new file mode 100644
index 00000000000..2a141857cfe
--- /dev/null
+++ b/clang/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) {}
OpenPOWER on IntegriCloud