2 // Bug: foo (bar) should be a declaration of a static data member, not a
3 // function; it's getting caught by the rules for constructors.
8 static foo (bar); // { dg-bogus "" }
11 int i = A::bar; // { dg-bogus "" }
12 int (*fp)(bar) = A::foo; // { dg-error "" }