mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55: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;
|
||
|
}
|