blob: 476ab9ba20e8ba3e4b2d63d1bde75dfb8681bba1 [file] [log] [blame]
Fariborz Jahanian55edca92011-02-23 00:11:21 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2// rdar://7029784
3
4@interface A
5-(id) f0 { // expected-error {{expected ';' after method prototype}}
6 assert(0);
7}
8@end
9
Fariborz Jahanian55edca92011-02-23 00:11:21 +000010@interface C
11- (id) f0 { // expected-error {{expected ';' after method prototype}}
12 assert(0);
13};
14@end