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

// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wno-objc-root-class %s
// expected-no-diagnostics

@interface I
{
  int window;
}
@property int window, noWarningNeeded;
@end

@implementation I

@synthesize window;

@dynamic noWarningNeeded;
@end