blob: 5012a2a37837479e65d798f2d65ee3aadbe9565b [file] [log] [blame]
John McCallf85e1932011-06-15 23:02:42 +00001static 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@public
19 id *field1;
20 __strong id *field2;
21}
22@end
23
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 Test7
41@property id *prop;
42@end
John McCallb64915a2011-06-17 21:56:12 +000043
44
45
46
47
48
49
50static inline void *test8(id ptr) {
51 return (__bridge_retain void*) ptr;
52}