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
/
2007-09-05-ConstCtor.c
blob
c19f391993da4efbcad5e55f87e8259374b95884
1
// RUN: %clang_cc1 -Os -emit-llvm %s -o /dev/null
2
// PR1641
3
4
struct
A
{
5
unsigned long
l
;
6
};
7
8
void
bar
(
struct
A
*
a
);
9
10
void
bork
(
void
) {
11
const unsigned long
vcgt
=
1234
;
12
struct
A a
= {
vcgt
};
13
bar
(&
a
);
14
}