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