@Test
public void testInitIsNullStmt() throws Exception {

  // Tests that the init of a for loop with essentially no initializer is a null statement,
  // rather than actually being null.
  final TranslationUnit tu = ParseHelper.parse("void main() { for( ; 1; 1) { } }");
  final ForStmt stmt =
      (ForStmt) ((FunctionDefinition) tu.getTopLevelDeclarations().get(0)).getBody()
      .getStmt(0);
  assertTrue(stmt.getInit() instanceof NullStmt);
}