2 // g++ 1.37.1 bug 900324_03
4 // g++ is unable to correctly parse declarations of non-global function-pointer
5 // variables and/or function-pointer formal parameters.
7 // Cfront 2.0 passes this test.
9 // keywords: syntax, function pointers, block local, formal
15 void (*p1)(); // { dg-bogus "" } s
18 void function_1 (void (*p2)()); // { dg-bogus "" } s
20 void (*function_2 ()) (); // OK
22 int main () { return 0; }