repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix gcc.dg/pr116905.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000717-1.c
blob
dd18a12a5ba8d451e88c52574f9a020cf84c2bc8
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
typedef
struct
trio
{
int
a
,
b
,
c
; }
trio
;
5
6
int
7
bar
(
int
i
,
trio t
)
8
{
9
if
(
t
.
a
==
t
.
b
||
t
.
a
==
t
.
c
)
10
abort
();
11
}
12
13
int
14
foo
(
trio t
,
int
i
)
15
{
16
return
bar
(
i
,
t
);
17
}
18
19
int
20
main
(
void
)
21
{
22
trio t
= {
1
,
2
,
3
};
23
24
foo
(
t
,
4
);
25
exit
(
0
);
26
}