aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CodeGenCXX/debug-info.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp
index 33b52789ca..7bca6e720c 100644
--- a/test/CodeGenCXX/debug-info.cpp
+++ b/test/CodeGenCXX/debug-info.cpp
@@ -67,3 +67,10 @@ class Cls {
Cls obj;
}
+
+namespace PR15637 {
+template <typename T> union Value { int a; };
+void g(float value) {
+ Value<float> tempValue;
+}
+}