mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25: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;
|
||
|
}
|