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