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