llvm-6502/test/FrontendObjC/nonfragile-ivar.m
Chris Lattner 3f8a3e71c7 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50274 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-25 18:11:06 +00:00

26 lines
298 B
Objective-C

// RUN: %llvmgcc -x objective-c -c %s -o /dev/null -m64
// rdar://5812818
@interface NSObject
@end
@interface Base:NSObject
@property int whatever;
@end
@interface Oops:Base
@end
@implementation Base
@synthesize whatever;
@end
@implementation Oops
-(void)whatthe {
self.whatever=1;
}
@end