RosettaCodeData/Task/Exceptions/C++/exceptions-4.cpp

5 lines
38 B
C++
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
void foo()
2023-07-01 11:58:00 -04:00
{
2025-08-11 18:05:26 -07:00
throw MyException();
2023-07-01 11:58:00 -04:00
}