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

19 lines
200 B
C

extern void exit (int);
extern void abort (void);
struct { int a; int b[5]; } x;
int *y;
int foo (void)
{
return y - x.b;
}
int main (void)
{
y = x.b;
if (foo ())
abort ();
exit (0);
}