/* * Contributed by Nicola Pero * Tue Sep 19 4:34AM */ #include #include @protocol MyProtocol + (oneway void) methodA; @end @interface MyObject @end @implementation MyObject + (oneway void) methodA { printf ("methodA\n"); } /* APPLE LOCAL begin objc test suite */ #ifdef __NEXT_RUNTIME__ + initialize { return self; } #endif /* APPLE LOCAL end objc test suite */ @end int main (void) { [MyObject methodA]; exit (0); }