OSDN Git Service

Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20000717-1.c
1 typedef struct trio { int a, b, c; } trio;
2
3 int
4 bar (int i, trio t)
5 {
6   if (t.a == t.b || t.a == t.c)
7     abort ();
8 }
9
10 int
11 foo (trio t, int i)
12 {
13   return bar (i, t);
14 }
15
16 main ()
17 {
18   trio t = { 1, 2, 3 };
19
20   foo (t, 4);
21   exit (0);
22 }