Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20000717-1.c
blob: 039ae5f342dd6692d978f8504015f3ed5163fbb5 [
file
] [
log
] [
blame
]
typedef
struct
trio
{
int
a
,
b
,
c
;
}
trio
;
int
bar
(
int
i
,
trio t
)
{
if
(
t
.
a
==
t
.
b
||
t
.
a
==
t
.
c
)
abort
();
}
int
foo
(
trio t
,
int
i
)
{
return
bar
(
i
,
t
);
}
main
()
{
trio t
=
{
1
,
2
,
3
};
foo
(
t
,
4
);
exit
(
0
);
}