1 // RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 %s -fsyntax-only
9 @interface TestObject : Test {
15 @implementation TestObject
24 TestObject * a = (id)malloc(100);
26 printf("12: %d\n", ((struct wibble*)a)->foo);
27 printf("%d: %d\n", ((char*)&(((struct wibble*)a)->foo)) - (char*)a, ((char*)&(a->foo)) - (char*)a);