5 // objc.h redefines these calls into bridge casts.
6 // This test verifies that the function implementations are exported.
8 extern void *retainedObject(void *arg) __asm__("_objc_retainedObject");
9 extern void *unretainedObject(void *arg) __asm__("_objc_unretainedObject");
10 extern void *unretainedPointer(void *arg) __asm__("_objc_unretainedPointer");
15 void *p = (void*)&main;
16 testassert(p == retainedObject(p));
17 testassert(p == unretainedObject(p));
18 testassert(p == unretainedPointer(p));