blob: f906d8efda8838e5c06030d969a6da0e16bedaa1 [file] [log] [blame]
Fariborz Jahanian0fd89042009-08-11 22:02:25 +00001// RUN: clang-cc -fobjc-gc -fsyntax-only -verify %s
2
3@protocol NSCopying @end
4
5@interface NSObject <NSCopying>
6@end
7
8@interface NSDictionary : NSObject
9@end
10
11@interface INTF
12 @property NSDictionary* undoAction; // expected-warning {{no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed}} // expected-warning {{default assign attribute on property 'undoAction' which implements NSCopying protocol is not appropriate with}}
13@end
14