@Test
public void testRemoveArbitraryVoidReturn() throws Exception {

  final String program = "void main() { int x; if (x < 3) { return; } else { return; } "
      + "return; return; }";
  final TranslationUnit tu = ParseHelper.parse(program);
  final List<StmtReductionOpportunity> ops = StmtReductionOpportunities.findOpportunities(
      MakeShaderJobFromFragmentShader.make(tu),
      new ReducerContext(true, ShadingLanguageVersion.ESSL_300,
          new RandomWrapper(0), new IdGenerator()));
  assertEquals(5, ops.size());
}