1// RUN: %clang_cc1 -verify -fsyntax-only -Wno-objc-root-class %s 2// rdar://8225011 3 4int glob; 5 6@interface I 7@property int glob; 8@property int p; 9@property int le; 10@property int l; 11@property int ls; 12@property int r; 13@end 14 15// rdar://9027673 16// Warning on future name lookup rule is removed. 17@implementation I 18- (int) Meth { return glob; } // no warning 19@synthesize glob; 20// rdar://8248681 21- (int) Meth1: (int) p { 22 extern int le; 23 int l = 1; 24 static int ls; 25 register int r; 26 p = le + ls + r; 27 return l; 28} 29@dynamic p; 30@dynamic le; 31@dynamic l; 32@dynamic ls; 33@dynamic r; 34@end 35 36 37