1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/FrontendC++/2006-03-06-C++RecurseCrash.cpp
Anton Korobeynikov eb3cd5e822 For PR1338: Rename test dirs
llvm-svn: 51695
2008-05-29 19:17:15 +00:00

25 lines
391 B
C++

// RUN: %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() { }