1 // RUN: %clang_cc1 -fsyntax-only -verify %s
8 @implementation Foo(Whatever)
9 +(float)returnsFloat { return 7.0; }
12 @interface Foo (MoreStuff)
16 @implementation Foo (MoreStuff)
21 +(void)returnsNothing {
23 -(int)callsReturnsInt {
24 float f = [Foo returnsFloat]; // GCC doesn't find this method (which is a bug IMHO).
26 return [Foo returnsInt];
30 int main() {return 0;}