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
/
shared-string-literals.c
blob
a05975b4aeb770864fa790330a747452934438a8
1
// RUN: clang-cc -emit-llvm %s -o %t
2
3
char
*
globalString
=
"abc"
;
4
char
*
globalStringArray
[
5
] = {
"123"
,
"abc"
};
5
char
*
anotherGlobalString
=
"123"
;
6
7
int
main
() {
8
printf
(
"123"
);
9
}