Files
clang-p2996/clang/test/CodeGen/cfstring2.c
Paul Robinson 64e4d03c68 [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}'
Part of the project to eliminate special handling for triples in lit
expressions.

Differential Revision: https://reviews.llvm.org/D137437
2022-12-02 09:44:15 -08:00

15 lines
299 B
C

// UNSUPPORTED: -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");