pantry/projects/gnu.org/gcc/test.cc

10 lines
188 B
C++
Raw Normal View History

#include <iostream>
struct exception { };
int main()
{
std::cout << "Hello, world!" << std::endl;
try { throw exception{}; }
catch (exception) { }
catch (...) { }
return 0;
}