Patrick Beard | b2f6820 | 2012-04-06 18:12:22 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Fariborz Jahanian | c8bafd7 | 2009-04-07 21:25:06 +0000 | [diff] [blame] | 3 | |
| 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 Jahanian | 0a9217f | 2009-04-10 22:42:54 +0000 | [diff] [blame] | 16 | @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 | |