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 | 0f27c6079b9aa8bf84519c3b8e4d62687f7cb873 (patch) | |
| tree | de43b5400777c0ecdd459121017aafe052719ad8 /clang/test/CodeGenCXX/debug-info.cpp | |
| parent | 5205a8cfd815e4e71ccd3f067080c11c8980c399 (diff) | |
| download | bcm5719-llvm-0f27c6079b9aa8bf84519c3b8e4d62687f7cb873.tar.gz bcm5719-llvm-0f27c6079b9aa8bf84519c3b8e4d62687f7cb873.zip | |
Revert r178079, it caused PR15637.
Also add a test for PR15637.
llvm-svn: 178497
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp index 33b52789caf..7bca6e720ca 100644 --- a/clang/test/CodeGenCXX/debug-info.cpp +++ b/clang/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; +} +} |

