repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add include needed for MSVC.
[clang/acc.git]
/
test
/
CodeGen
/
cfstring2.c
blob
ceefeb9e832c50f4d895f1dd7460876f9b4da546
1
// RUN: clang-cc -emit-llvm %s -o %t
2
3
typedef
const struct
__CFString
*
CFStringRef
;
4
5
#define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x)
6
7
void
f
() {
8
CFSTR
(
"Hello, World!"
);
9
}
10
11
// rdar://6151192
12
void
*
G
=
CFSTR
(
"yo joe"
);
13