diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-06 23:52:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-06 23:52:37 +0000 |
commit | b18966c28caea4d3e1a3263155521ddfa7091252 (patch) | |
tree | 73fd6f0e0bffed7ab25af07cad104d1f07a35deb /test/C++Frontend | |
parent | 95a959dc1a6cb8b194bd8b4fad9ef0081ce8b364 (diff) | |
download | llvm-b18966c28caea4d3e1a3263155521ddfa7091252.tar.gz llvm-b18966c28caea4d3e1a3263155521ddfa7091252.tar.bz2 llvm-b18966c28caea4d3e1a3263155521ddfa7091252.tar.xz |
new regression test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r-- | test/C++Frontend/2006-03-06-C++RecurseCrash.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/C++Frontend/2006-03-06-C++RecurseCrash.cpp b/test/C++Frontend/2006-03-06-C++RecurseCrash.cpp new file mode 100644 index 0000000000..ec6bec31db --- /dev/null +++ b/test/C++Frontend/2006-03-06-C++RecurseCrash.cpp @@ -0,0 +1,24 @@ +// %llvmgcc %s -S -o - +namespace std { + class exception { }; + + class type_info { + public: + virtual ~type_info(); + }; + +} + +namespace __cxxabiv1 { + class __si_class_type_info : public std::type_info { + ~__si_class_type_info(); + }; +} + +class recursive_init: public std::exception { +public: + virtual ~recursive_init() throw (); +}; + +recursive_init::~recursive_init() throw() { } + |