bolt/deps/llvm-18.1.8/clang/test/CodeGen/cfstring2.c

14 lines
300 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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!");
}
void *G = CFSTR("yo joe");