blob: 519deb2867a3887d63e0cfd1c56e436b71c669d6 [file] [log] [blame]
// Bug: foo (bar) should be a declaration of a static data member, not a
// function; it's getting caught by the rules for constructors.
// Build don't link:
typedef int foo;
typedef int bar;
struct A {
static foo (bar); // gets bogus error
};
int i = A::bar; // gets bogus error
int (*fp)(bar) = A::foo; // ERROR -