mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
19 lines
200 B
C
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);
|
|
}
|