@Test(expected = CannotRemoveReturnsException.class)
public void testNoSwitch() throws Exception {

  final String program = "void main() { switch(2) { default: return; } }";
  final TranslationUnit tu = ParseHelper.parse(program);
  final FunctionDefinition fd = findFunctionDefinition(tu, "main");
  ReturnRemover.removeReturns(fd, ShadingLanguageVersion.GLSL_440);
}