OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / error3.C
1 // Test for proper error message formatting; the throw() should go inside
2 // the parens, as below.
3
4 void (*g() throw())();          // { dg-error "g\\(\\) throw" "" }
5 void (*g())();                  // { dg-error "" "" }