var x = {1: 2, 3: 4};
assertEq(x[1], 2);

/* getelem with non-dense array and known type int32. */