Fariborz Jahanian | 46d545e | 2010-11-02 00:44:43 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | // rdar: //7824372 | ||||
3 | |||||
4 | @interface A | ||||
5 | -(void) im0; | ||||
6 | |||||
7 | @implementation A // expected-error {{missing @end}} | ||||
8 | @end | ||||
9 | |||||
10 | @interface B { | ||||
11 | } | ||||
12 | |||||
13 | @implementation B // expected-error {{missing @end}} | ||||
14 | @end | ||||
15 | |||||
16 | @interface C | ||||
17 | @property int P; | ||||
18 | |||||
19 | @implementation C // expected-error 2 {{missing @end}} |