58 lines · c
1static inline void *test0(id x) {2 return x;3}4 5static inline void **test1(__strong id* x) {6 return (void**) x;7}8 9 10 11 12 13struct Test3 {14 id *field;15};16 17@interface Test4 {18@public19 id *field1;20 __strong id *field2;21}22@end23 24struct Test5 {25 id field;26};27 28 29 30 31 32 33 34extern struct Test6 *const kMagicConstant;35 36 37 38 39 40@interface Test741@property id *prop;42@end43 44 45 46 47 48 49 50static inline void *test8(id ptr) {51 return (__bridge_retain void*) ptr;52}53 54typedef struct {55 const char *name;56 id field;57} Test9;58