@Test
public void testSideEffectingTypeInitializerNotRemoved() throws Exception {

  final String program = "void main() { float x; vec4(0.0, x++, 0.0, 0.0); }";
  final TranslationUnit tu = ParseHelper.parse(program);
  List<? extends IReductionOpportunity> ops =
        StmtReductionOpportunities.findOpportunities(MakeShaderJobFromFragmentShader.make(tu),
            new ReducerContext(false, ShadingLanguageVersion.ESSL_100,
                new RandomWrapper(0), new IdGenerator()));
  assertEquals(0, ops.size());
}