1// RUN: %clang_cc1 -fsyntax-only -verify -Wdocumentation -Wno-objc-root-class %s
2// rdar://29220965
3
4@interface InvalidInterface { // expected-note {{previous definition is here}}
5  int *_property;
6}
7
8@end
9
10/*!
11 */
12
13@interface InvalidInterface // expected-error {{duplicate interface definition for class 'InvalidInterface'}}
14@property int *property;
15
16-(void) method;
17@end
18
19@implementation InvalidInterface
20-(void) method { }
21@end
22