tcc-65816/test/tests/20000717-1.c
2017-06-09 13:52:12 +02:00

23 lines
232 B
C

typedef struct trio { int a, b, c; } trio;
int
bar (int i, trio t)
{
if (t.a == t.b || t.a == t.c)
abort ();
}
int
foo (trio t, int i)
{
return bar (i, t);
}
main ()
{
trio t = { 1, 2, 3 };
foo (t, 4);
exit (0);
}