| John McCall | 5fb5df9 | 2012-06-20 06:18:46 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - |
| Fariborz Jahanian | d0d2bd5 | 2007-12-03 22:25:42 +0000 | [diff] [blame] | 2 | |
| Fariborz Jahanian | d0d2bd5 | 2007-12-03 22:25:42 +0000 | [diff] [blame] | 3 | @interface MyDerived |
| 4 | { | ||||
| 5 | @public | ||||
| 6 | int IVAR; | ||||
| 7 | } | ||||
| 8 | @end | ||||
| 9 | |||||
| 10 | MyDerived *pd; | ||||
| 11 | int main() { | ||||
| 12 | return pd->IVAR; | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | |||||