@Test
public void testUnwrapWithDeclNoClash() throws Exception {

  final String program = "void main() { int x; { int y; } }";
  final String expected = "void main() { int x; int y; }";
  final TranslationUnit tu = ParseHelper.parse(program);
  List<UnwrapReductionOpportunity> ops = UnwrapReductionOpportunities
      .findOpportunities(MakeShaderJobFromFragmentShader.make(tu),
      new ReducerContext(false,
          ShadingLanguageVersion.GLSL_440, new SameValueRandom(false, 0), new IdGenerator()));
  assertEquals(1, ops.size());
  ops.get(0).applyReduction();
  CompareAsts.assertEqualAsts(expected, tu);
}