[Bug c/106929] declaration in switch-case doesn't fail since GCC 11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106929 --- Comment #4 from Michael Zimmermann --- Interesting, but IMO it should still fail if you specify an older C standard e.g. using `-std=c89`, but currently it doesn't.
[Bug c/106929] New: declaration in switch-case doesn't fail since GCC 11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106929 Bug ID: 106929 Summary: declaration in switch-case doesn't fail since GCC 11 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com