summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/cfstring.c
blob: 3bd1a2d1834455290597a4ea0911b9ccaf796f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang -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