summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/TypedObject/fuzz5.js
blob: cc6eb9111abc3d9237cded4c209458b8523d8a1c (plain)
1
2
3
4
5
6
7
8
if (!this.hasOwnProperty("TypedObject"))
  quit();

var Color = new TypedObject.StructType({r: TypedObject.uint8,
                                        g: TypedObject.uint8,
                                        b: TypedObject.uint8});
var white2 = new Color({r: 255, toString: null, b: 253});