@Test
public void testDoNotRemoveUsedLiveCodeDecl() throws Exception {

  final String program = "void main() {\n"
        + "  int GLF_live0c = 3;"
        + "  GLF_live0c++;"
        + "}\n";
  final TranslationUnit tu = ParseHelper.parse(program);
  List<? extends IReductionOpportunity> ops = GlobalVariablesDeclarationReductionOpportunities
        .findOpportunities(MakeShaderJobFromFragmentShader.make(tu),
            new ReducerContext(false, ShadingLanguageVersion.ESSL_100,
              new RandomWrapper(0), new IdGenerator()));
  assertEquals(0, ops.size());
}