c/programmer_humor@programming.dev · gandalf_der_13te@feddit.org · 21 Sep 2026 06:00 can somebody confirm this pls? check post at origin
You actually shouldn’t do this!
This doesn’t introduce a new scope, so accidentally using
xoutside of the case block is UB. Instead you should introduce a new scope like so: