minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/2011-03-08-IVarLookup.m
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

30 lines
357 B
Objective-C

// RUN: %clang -S -emit-llvm -m64 -fobjc-abi-version=2 %s -o /dev/null
typedef unsigned int UInt_t;
@interface A
{
@protected
UInt_t _f1;
}
@end
@interface B : A { }
@end
@interface A ()
@property (assign) UInt_t f1;
@end
@interface B ()
@property (assign) int x;
@end
@implementation B
@synthesize x;
- (id) init
{
_f1 = 0;
return self;
}
@end