It doesn't compile.  I've wrapped it in a do-while, the test case seemed to intentionally not label the switch.