Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6855492ab6d55a6dd70691efa166aa0b2ee0f56e
/
.
/
test
/
CodeGen
/
writable-strings.c
blob: cde64aa5e6d3943c40997a52c7da471225ad3110 [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm -o %t -fwritable-strings %s
int
main
()
{
char
*
str
=
"abc"
;
str
[
0
]
=
'1'
;
printf
(
"%s"
,
str
);
}