This reverts commit d618f1c3b1.
This commit wasn't reviewed ahead of time and significant concerns were
raised immediately after it landed. According to our developer policy
this warrants immediate revert of the commit.
https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy
Differential Revision: https://reviews.llvm.org/D155509
15 lines
318 B
C
15 lines
318 B
C
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
|
// RUN: %clang_cc1 -emit-llvm %s -o %t
|
|
|
|
typedef const struct __CFString * CFStringRef;
|
|
|
|
#define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x)
|
|
|
|
void f(void) {
|
|
CFSTR("Hello, World!");
|
|
}
|
|
|
|
// rdar://6151192
|
|
void *G = CFSTR("yo joe");
|
|
|