aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
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) {}