repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC
/
2007-02-16-WritableStrings.c
blob
0f281ce7c5e36b325d42f98dadebfca1e6478afc
1
// Test the -fwritable-strings option.
2
3
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
4
// RUN: grep {internal global}
5
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
6
7
char
*
X
=
"foo"
;