llvm/lldb/test/API/lang/objc/ivar-IMP/myclass.m

#import <objc/NSObject.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