diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-04-01 20:33:18 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-04-01 20:33:18 +0000 |
commit | bd0152fb251e84c6f335c66322b83a9af09fed0c (patch) | |
tree | f9ee6b7c1e8b834c84ba2a878f7395417d074943 /test | |
parent | f396ad9b1fa0c74c9db16a8158c3882c9db774e2 (diff) |
Revert r178079, it caused PR15637.
Also add a test for PR15637.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGenCXX/debug-info.cpp | 7 |
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; +} +} |