1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// RUN: clang-cc %s -verify -fsyntax-only #include <stdio.h> @interface Greeter + (void) hello; @end @implementation Greeter + (void) hello { fprintf(stdout, "Hello, World!\n"); } @end int main (void) { [Greeter hello]; return 0; }