Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20000717-1.c

raw
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 }