The general case: it doesn't matter whether the code is reachable or not, you can't put case statements in sub-blocks. Not even sub-blocks that are just sub-blocks on their own (i.e. no if or for or while or whatever in front of them, they just start with {).