llvm-project/clang/test/SemaObjC/pedantic-dynamic-test.m

18 lines
270 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wno-objc-root-class %s
// expected-no-diagnostics
// rdar: // 7860960
@interface I
{
int window;
}
@property int window, noWarningNeeded;
@end
@implementation I
@synthesize window;
@dynamic noWarningNeeded;
@end