1 | #import <objc/NSObject.h> |
---|---|
2 | #import <stdint.h> |
3 | |
4 | @interface BaseClass : NSObject |
5 | { |
6 | int _backed_int; |
7 | #if !__OBJC2__ |
8 | int _unbacked_int; |
9 | #endif |
10 | } |
11 | @property int backed_int; |
12 | @property int unbacked_int; |
13 | @end |
14 | |
15 | @interface DerivedClass : BaseClass |
16 | { |
17 | int _derived_backed_int; |
18 | #if !__OBJC2__ |
19 | int _derived_unbacked_int; |
20 | #endif |
21 | @public |
22 | uint32_t flag1 : 1; |
23 | uint32_t flag2 : 3; |
24 | } |
25 | |
26 | @property int derived_backed_int; |
27 | @property int derived_unbacked_int; |
28 | @end |
29 |