Sign in
llvm
/
llvm
/
refs/heads/release_28
/
.
/
test
/
FrontendC
/
2007-02-16-WritableStrings.c
blob: 0f281ce7c5e36b325d42f98dadebfca1e6478afc [
file
] [
log
] [
blame
]
// Test the -fwritable-strings option.
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
// RUN: grep {internal global}
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
char
*
X
=
"foo"
;