| 1 | // RUN: %clang -S -emit-llvm -m64 -fobjc-abi-version=2 %s -o /dev/null |
|---|---|
| 2 | |
| 3 | typedef unsigned int UInt_t; |
| 4 | |
| 5 | @interface A |
| 6 | { |
| 7 | @protected |
| 8 | UInt_t _f1; |
| 9 | } |
| 10 | @end |
| 11 | |
| 12 | @interface B : A { } |
| 13 | @end |
| 14 | |
| 15 | @interface A () |
| 16 | @property (assign) UInt_t f1; |
| 17 | @end |
| 18 | |
| 19 | @interface B () |
| 20 | @property (assign) int x; |
| 21 | @end |
| 22 | |
| 23 | @implementation B |
| 24 | @synthesize x; |
| 25 | - (id) init |
| 26 | { |
| 27 | _f1 = 0; |
| 28 | return self; |
| 29 | } |
| 30 | @end |
| 31 |