1 /* Contributed by Igor Seleznev <selez@mail.ru>. */
2 /* This used to be broken. */
3 /* { dg-additional-options "-Wno-objc-root-class" } */
12 + (B *)currentContext;
17 [A currentContext]; /* { dg-bogus "multiple declarations" } */
22 + (A *)currentContext { return nil; }
25 + (B *)currentContext { return nil; }