2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -emit-llvm %s -o %t
|
2007-11-19 08:25:30 +08:00
|
|
|
#define CFSTR __builtin___CFStringMakeConstantString
|
|
|
|
|
|
|
|
void f() {
|
|
|
|
CFSTR("Hello, World!");
|
2008-08-21 10:51:29 +08:00
|
|
|
}
|
2008-10-06 15:26:43 +08:00
|
|
|
|
|
|
|
// rdar://6248329
|
|
|
|
void *G = CFSTR("yo joe");
|
|
|
|
|
2009-01-25 09:54:01 +08:00
|
|
|
void h() {
|
|
|
|
static void* h = CFSTR("Goodbye, World!");
|
|
|
|
}
|