brintos

brintos / llvm-project-archived public Read only

0
0
Text · 291 B · ee3f0c1 Raw
11 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s2 3@interface A @end4 5@implementation A @end // expected-note {{class implementation is declared here}}6 7@interface A () // expected-error {{cannot declare class extension for 'A' after class implementation}}8-(void) im0;9@end10 11