aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info-template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/debug-info-template.cpp')
-rw-r--r--test/CodeGenCXX/debug-info-template.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-template.cpp b/test/CodeGenCXX/debug-info-template.cpp
index 3fbfebf915..0ddfc242b1 100644
--- a/test/CodeGenCXX/debug-info-template.cpp
+++ b/test/CodeGenCXX/debug-info-template.cpp
@@ -11,3 +11,12 @@ public:
};
TC<int> tci;
+
+//CHECK: TU<2>
+//CHECK: DW_TAG_template_value_parameter
+template<unsigned >
+class TU {
+ int b;
+};
+
+TU<2> u2;