mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +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;
|
||
|
}
|