mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
26 lines
235 B
C
26 lines
235 B
C
extern void abort(void);
|
|
|
|
void test(int *ptr)
|
|
{
|
|
int i = 1;
|
|
goto useless;
|
|
if (0)
|
|
{
|
|
useless:
|
|
i = 0;
|
|
}
|
|
else
|
|
i = 1;
|
|
*ptr = i;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
int i = 1;
|
|
test(&i);
|
|
if (i)
|
|
abort ();
|
|
return 0;
|
|
}
|
|
|