1 /* Contributed by Igor Seleznev <selez@mail.ru>. */
2 /* This used to be broken. */
11 + (B *)currentContext;
16 [A currentContext]; /* { dg-bogus "multiple declarations" } */
21 + (A *)currentContext { return nil; }
24 + (B *)currentContext { return nil; }