Issue 12833 - switch statement does not work properly when -inline used

https://issues.dlang.org/show_bug.cgi?id=12833