OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000717-5.c
1
typedef struct trio { int a, b, c; } trio;
2
3
int
4
bar (int i, int j, int k, trio t)
5
{
6
if (t.a != 1 || t.b != 2 || t.c != 3 ||
7
i != 4 || j != 5 || k != 6)
8
abort ();
9
}
10
11
int
12
foo (trio t, int i, int j, int k)
13
{
14
return bar (i, j, k, t);
15
}
16
17
main ()
18
{
19
trio t = { 1, 2, 3 };
20
21
foo (t, 4, 5, 6);
22
exit (0);
23
}