blob: 6539a9b7f149ffc2cc2ab89a1a79ff28f95bde6c [file] [log] [blame]
Patrick Beardb2f68202012-04-06 18:12:22 +00001// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Fariborz Jahanianc8bafd72009-04-07 21:25:06 +00003
4@interface Subtask
5{
6 id _delegate;
7}
8@property(nonatomic,readwrite,assign) id __weak delegate;
9@end
10
11@implementation Subtask
12@synthesize delegate = _delegate;
13@end
14
15
Fariborz Jahanian0a9217f2009-04-10 22:42:54 +000016@interface PVSelectionOverlayView2
17{
18 id __weak _selectionRect;
19}
20
21@property(assign) id selectionRect;
22
23@end
24
25@implementation PVSelectionOverlayView2
26
27@synthesize selectionRect = _selectionRect;
28@end
29