llvm-project/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.m

17 lines
262 B
Objective-C

#import <Foundation/Foundation.h>
#import "myclass.h"
@implementation MyClass
{
IMP myImp;
}
- (id)init {
if (self = [super init])
{
SEL theSelector = @selector(init);
self->myImp = [self methodForSelector:theSelector];
}
return self;
}
@end