summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/category-super-class-meth.m
blob: 595d2af2985770e8029ed5cc9c93d63618d75de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: clang -cc1 -emit-llvm -o %t %s

@interface BASE
+ (int) BaseMeth;
@end

@interface Child: BASE
@end

@interface Child (Categ)
+ (int) flushCache2;
@end

@implementation Child  @end

@implementation Child (Categ)
+ (int) flushCache2 { [super BaseMeth]; }
@end

OpenPOWER on IntegriCloud