arocc icon indicating copy to clipboard operation
arocc copied to clipboard

Missing error for goto into statement expression

Open Vexu opened this issue 6 months ago • 0 comments

void foo(void) {
    int b = ({
        foo:
        goto foo; // ok
        1;
    });
    goto foo; // not ok
}

Vexu avatar Jul 09 '25 20:07 Vexu