blob: 40ee19203330ebaec4758241f81dcd7a25d5f035 [file] [log] [blame]
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;
}