blob: 500933d835dad038b2706745ee3ebba8f43495b5 [file] [log] [blame]
// RUN: clang-cc -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
typedef struct objc_selector *SEL;
typedef struct objc_object *id;
@interface SUPER
- (int) MainMethod;
@end
@interface MyDerived : SUPER
- (int) instanceMethod;
@end
@implementation MyDerived
- (int) instanceMethod {
return [super MainMethod];
}
@end