aboutsummaryrefslogtreecommitdiff
path: root/test/Rewriter/objc-super-test.m
blob: 298248519d26203813998d7236bd09b48f21bff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: clang -rewrite-objc %s -o=-

@interface SUPER
- (int) MainMethod;
@end

@interface MyDerived : SUPER
- (int) instanceMethod;
@end

@implementation MyDerived 
- (int) instanceMethod {
  return [super MainMethod];
}
@end