Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
664012bb64c5430dbe5b194a8ccc5fe50cf49638
/
.
/
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"
;