aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/cfstring2.c
blob: 7ff57e14407f740b08d2f89f0e1c25fd87a3a775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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");