// Check for mapPar() applied to an empty array.
// Public domain.

if (!this.hasOwnProperty("TypedObject"))
  quit();

var { ArrayType, StructType, uint32 } = TypedObject;
var Point = new StructType({x: uint32, y: uint32});
var Points = Point.array(0);
var points = new Points();
points.mapPar(function() {});

