summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/pedantic-dynamic-test.m
blob: 1fc5ef66b88a76e9803e21da2169fc9ed9c59554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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