__builtin___CFStringMakeConstantString. (We get into trouble in GenerateStaticBlockVarDecl if the constant folder isn't accurate.) llvm-svn: 62949
14 lines
232 B
C
14 lines
232 B
C
// 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!");
|
|
}
|