| Eli Friedman | 84ae509 | 2009-04-01 02:55:21 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s |
| Fariborz Jahanian | 63a224a | 2009-03-31 18:11:23 +0000 | [diff] [blame] | 2 | |
| 3 | @interface I |
| 4 | { |
| 5 | } |
| 6 | @property int IP; |
| 7 | @end |
| 8 | |
| 9 | @implementation I |
| 10 | @synthesize IP; |
| 11 | - (int) Meth { |
| 12 | return IP; |
| 13 | } |
| 14 | @end |
| Fariborz Jahanian | 78be165 | 2009-04-01 19:37:34 +0000 | [diff] [blame] | 15 | |
| 16 | // Test for synthesis of ivar for a property |
| 17 | // declared in continuation class. |
| 18 | @interface OrganizerViolatorView |
| 19 | @end |
| 20 | |
| 21 | @interface OrganizerViolatorView() |
| 22 | @property (retain) id bindingInfo; |
| 23 | @end |
| 24 | |
| 25 | @implementation OrganizerViolatorView |
| 26 | @synthesize bindingInfo; |
| 27 | @end |