GCC reports an error for this snippet:

int main()
{
foo:
        int x;
}

foo.c:4: error: expected expression before 'int'

... but not this snippet:

int main()
{
foo:
        (void)0;
        int x;
}

Is this expected behaviour? At the very least, it seems like an
unusual distinction.

Please cc me in your reply. Cheers,
Shaun

Reply via email to