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
/
array.c
blob
91aa83394d20d56441a44997b61eb985d93b9a65
1
// RUN: %clang_cc1 -emit-llvm %s -o %t
2
3
void
f
(
void
) {
4
int
a
[
2
];
5
a
[
0
] =
0
;
6
}
7
8
void
f2
(
void
) {
9
int
x
=
0
;
10
int
y
=
1
;
11
int
a
[
10
] = {
y
,
x
,
2
,
3
};
12
int
b
[
10
] = {
2
,
4
,
x
,
6
,
y
,
8
};
13
int
c
[
5
] = {
0
,
1
,
2
,
3
};
14
}