Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
0fb382bfbfbfee73763a213b2257042ed342c4b0
/
.
/
test
/
CodeGen
/
2007-09-05-ConstCtor.c
blob: 138b818875604f7707328022435d06fe99822325 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -Os -emit-llvm %s -o /dev/null
// PR1641
struct
A
{
unsigned
long
l
;
};
void
bar
(
struct
A
*
a
);
void
bork
()
{
const
unsigned
long
vcgt
=
1234
;
struct
A a
=
{
vcgt
};
bar
(&
a
);
}