aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/cfstring.c
blob: 1f0977f0398acb22ad3d421d6f6a2b8604c58d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -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!");
}