repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
FrontendC
/
2007-02-16-WritableStrings.c
blob
d11fa089dbab39d07d0101c0f13d463e7a976226
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 {internal constant}
6
7
char
*
X
=
"foo"
;
8