Fix gcc.dg/pr116905.c
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000717-1.c
blobdd18a12a5ba8d451e88c52574f9a020cf84c2bc8
1 void abort (void);
2 void exit (int);
4 typedef struct trio { int a, b, c; } trio;
6 int
7 bar (int i, trio t)
9 if (t.a == t.b || t.a == t.c)
10 abort ();
13 int
14 foo (trio t, int i)
16 return bar (i, t);
19 int
20 main (void)
22 trio t = { 1, 2, 3 };
24 foo (t, 4);
25 exit (0);