From: Bill Wendling Date: Wed, 9 Mar 2011 01:05:00 +0000 (+0000) Subject: Testcase for r127301. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d7f3e7d046ab0d4caad5237c9e49d22e5b0faf34;p=oota-llvm.git Testcase for r127301. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127304 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FrontendObjC/2011-03-08-IVarLookup.m b/test/FrontendObjC/2011-03-08-IVarLookup.m new file mode 100644 index 00000000000..939f2a7b8f3 --- /dev/null +++ b/test/FrontendObjC/2011-03-08-IVarLookup.m @@ -0,0 +1,32 @@ +// RUN: %llvmgcc -x objective-c -S -fobjc-abi-version=2 %s -o /dev/null +// XFAIL: * +// XTARGET: darwin + +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