Fariborz Jahanian | 24e1408 | 2010-04-02 20:53:05 +0000 | [diff] [blame] | 1 | // 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 |