blob: 38f68b98535a90981da793abf7744504ec27434c [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
2
3typedef struct objc_selector *SEL;
4typedef struct objc_object *id;
5
6@interface SUPER
7- (int) MainMethod;
8@end
9
10@interface MyDerived : SUPER
11- (int) instanceMethod;
12@end
13
14@implementation MyDerived
15- (int) instanceMethod {
16 return [super MainMethod];
17}
18@end