summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/cfstring.c
blob: a78dfdaf6502a674b370b0082a1427154473bbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang-cc -emit-llvm %s -o %t
#define CFSTR __builtin___CFStringMakeConstantString

void f() {
  CFSTR("Hello, World!");
}

// rdar://6248329
void *G = CFSTR("yo joe");

void h() {
  static void* h = CFSTR("Goodbye, World!");
}
OpenPOWER on IntegriCloud