(* synthesize *) module sysListInBounds1(); List#(Integer) x = cons(1, cons(2, cons(3, cons(4, nil)))); Integer y = x[2]; rule test; $display("%0d", y); $finish(0); endrule endmodule