repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
writable-strings.c
blob
89d012bcae72cec165bc5e82baa5c282a0295394
1
// RUN: %clang_cc1 -emit-llvm -o - -fwritable-strings %s
2
3
int
printf
(
const char
*, ...);
4
int
main
(
void
) {
5
char
*
str
=
"abc"
;
6
str
[
0
] =
'1'
;
7
printf
(
"%s"
,
str
);
8
}
9