This removes links to rdar, which is an internal bug tracker that the community doesn't have visibility into. See further discussion at: https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
21 lines
412 B
Objective-C
21 lines
412 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify -Wdocumentation -Wno-objc-root-class %s
|
|
|
|
@interface InvalidInterface { // expected-note {{previous definition is here}}
|
|
int *_property;
|
|
}
|
|
|
|
@end
|
|
|
|
/*!
|
|
*/
|
|
|
|
@interface InvalidInterface // expected-error {{duplicate interface definition for class 'InvalidInterface'}}
|
|
@property int *property;
|
|
|
|
-(void) method;
|
|
@end
|
|
|
|
@implementation InvalidInterface
|
|
-(void) method { }
|
|
@end
|