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