3 // This may be an extension, but it's a very common one...
5 extern "C" int printf (const char *, ...);
9 static A*func (int = 3);
10 static A*(*ptr)(int = 4); // { dg-error "" } .*
13 A*(*A::ptr)(int) = &A::func;
19 A::ptr(); // { dg-error "" } .*