@Test
public void testCountingLoopHasSideEffects() throws Exception {

  assertFalse(SideEffectChecker.isSideEffectFree(new ForStmt(
      new ExprStmt(new BinaryExpr(
          new VariableIdentifierExpr("i"),
          new IntConstantExpr("0"),
          BinOp.ASSIGN
      )),
      new BinaryExpr(
          new VariableIdentifierExpr("i"),
          new IntConstantExpr("10"),
          BinOp.LT),
      new UnaryExpr(
          new VariableIdentifierExpr("i"),
          UnOp.POST_INC
      ), new BlockStmt(Collections.emptyList(), false)),
      ShadingLanguageVersion.ESSL_310, ShaderKind.FRAGMENT));
}