aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-12-11 20:21:38 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-12-11 20:21:38 +0000
commit6f9f25dfc7bf9cc1ab1282d6d7e9cf7916d8a09c (patch)
tree989997b96ea86c79bb56339d26c61e26dc0e975f /test/CodeGenCXX/mangle.cpp
parente7e278bce2301990107cef3f873cbbf7da94469a (diff)
Make sure mangling doesn't crash in another case. Add some more tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r--test/CodeGenCXX/mangle.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index a2e92e9738..38f3c8bd3f 100644
--- a/test/CodeGenCXX/mangle.cpp
+++ b/test/CodeGenCXX/mangle.cpp
@@ -228,11 +228,3 @@ template<typename T> typename __enable_if<(__is_scalar<T>::__value), void>::__ty
template void ft8<int>();
// CHECK: @_Z3ft8IPvEN11__enable_ifIXsr11__is_scalarIT_E7__valueEvE6__typeEv
template void ft8<void*>();
-
-// PR5706
-// This example was crashing in the mangler code
-struct S8 {
- virtual ~S8() { }
-};
-
-static struct : S8 { } obj8;