summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.m
blob: 3ff2ac7fe78f5f80089738207deb1ffd4c5d3c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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
OpenPOWER on IntegriCloud