Eric Christopher | 89a179b | 2011-08-20 01:04:49 +0000 | [diff] [blame^] | 1 | // RUN: %clang -S -emit-llvm -m64 -fobjc-abi-version=2 %s -o /dev/null |
2 | // XFAIL: * | ||||
3 | // XTARGET: darwin | ||||
4 | |||||
5 | typedef unsigned int UInt_t; | ||||
6 | |||||
7 | @interface A | ||||
8 | { | ||||
9 | @protected | ||||
10 | UInt_t _f1; | ||||
11 | } | ||||
12 | @end | ||||
13 | |||||
14 | @interface B : A { } | ||||
15 | @end | ||||
16 | |||||
17 | @interface A () | ||||
18 | @property (assign) UInt_t f1; | ||||
19 | @end | ||||
20 | |||||
21 | @interface B () | ||||
22 | @property (assign) int x; | ||||
23 | @end | ||||
24 | |||||
25 | @implementation B | ||||
26 | @synthesize x; | ||||
27 | - (id) init | ||||
28 | { | ||||
29 | _f1 = 0; | ||||
30 | return self; | ||||
31 | } | ||||
32 | @end |