DiscardStmt extends Stmt { @Override public DiscardStmt clone() { return new DiscardStmt(); }  @Override void accept(IAstVisitor visitor); @Override DiscardStmt clone();  }
@Test public void testDiscardStmt() { assertEquals("discard;\n", new DiscardStmt().getText()); final DiscardStmt discardStmt = new DiscardStmt(); assertNotSame(discardStmt, discardStmt.clone()); }