Paul Robinson 7793e67651 [ZOS] Convert tests to check 'target={{.*}}-zos{{.*}}'
Also add 'system-zos' as a lit feature and use it where needed.

Part of the project to eliminate special handling for triples in lit
expressions.

Differential Revision: https://reviews.llvm.org/D139444
2022-12-12 11:25:19 -08:00

23 lines
315 B
Objective-C

// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
@class D;
@interface B {
int x;
int y;
}
@end
@interface D : B {
int z;
}
-(int)n;
@end
void expr() {
C *c;
int i = [c m];
D *d;
int j = [d n] + d->x;
}