21 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify -Wdocumentation -Wno-objc-root-class %s2 3@interface InvalidInterface { // expected-note {{previous definition is here}}4 int *_property;5}6 7@end8 9/*!10 */11 12@interface InvalidInterface // expected-error {{duplicate interface definition for class 'InvalidInterface'}}13@property int *property;14 15-(void) method;16@end17 18@implementation InvalidInterface19-(void) method { }20@end21