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

15 lines
318 B
C

// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
// RUN: %clang_cc1 -emit-llvm %s -o %t
typedef const struct __CFString * CFStringRef;
#define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x)
void f(void) {
CFSTR("Hello, World!");
}
// rdar://6151192
void *G = CFSTR("yo joe");