brintos

brintos / llvm-project-archived public Read only

0
0
Text · 315 B · a1eab13 Raw
23 lines · plain
1// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}2// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s3@class D;4 5@interface B {6  int x;7  int y;8}9@end10 11@interface D : B {12  int z;13}14-(int)n;15@end16 17void expr() {18  C *c;19  int i = [c m];20  D *d;21  int j = [d n] + d->x;22}23