goto skipping declarations

Walter Bright newshound2 at digitalmars.com
Fri Sep 19 00:02:53 UTC 2025


gcc does not produce an error:

```c
int foo(int x)
{
         goto END;
         int what;
     END: return what;
}
```

so D is still doing better! D gives an error. (ImportC does not give an error, 
on purpose!)


More information about the Digitalmars-d mailing list