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