summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/category-super-class-meth.m
blob: 95d8b3103c9fe53962fb9c5a11cb9a0279398621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: clang-cc -fnext-runtime -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