Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
89bc314c6ddf3b851ccf68bc34d3f1b5927a10f6
/
.
/
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
);
}