xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/2011-03-08-IVarLookup.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang -S -emit-llvm -m64 -fobjc-abi-version=2 %s -o /dev/null
2
3typedef 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