#include <iostream> using namespace std; int foo() { catch (...) { } } int main() { return 0; }
Standard input is empty
prog.cpp: In function 'int foo()': prog.cpp:5:2: error: expected primary-expression before 'catch' catch (...) ^
Standard output is empty