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