blob: 2d8a5b1d4d80547bc12c48ddd8a6072ef9aee2c9 [file] [log] [blame]
Fariborz Jahanian24e14082010-04-02 20:53:05 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2// rdar://7822210
3
4@interface A @end
5
6@implementation A @end // expected-note {{class implementation is declared here}}
7
8@interface A () // expected-error {{cannot declare class extension for 'A' after class implementation}}
9-(void) im0;
10@end
11