mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 10:45:08 +03:00
10 lines
188 B
C++
10 lines
188 B
C++
|
#include <iostream>
|
||
|
struct exception { };
|
||
|
int main()
|
||
|
{
|
||
|
std::cout << "Hello, world!" << std::endl;
|
||
|
try { throw exception{}; }
|
||
|
catch (exception) { }
|
||
|
catch (...) { }
|
||
|
return 0;
|
||
|
}
|