Compiler supports switches