projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase for -fwritable-strings
[oota-llvm.git]
/
test
/
CFrontend
/
2007-02-16-WritableStrings.c
1
// Test the -fwritable-strings option.
2
3
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | grep 'internal global' &&
4
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep 'internal constant'
5
6
char *X = "foo";
7