Regression test for the fast compiler, which used to require too many
temporaries when generating code for a switch instruction.
