void (*pf)() throw(int); // OKtypedef void (*tf)() throw(int); // Error: declared with an exception specification int main(){}
Standard input is empty
prog.cpp:3:31: error: ‘tf’ declared with an exception specification
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!