summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/TypedObject/fuzz5.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/TypedObject/fuzz5.js')
-rw-r--r--js/src/jit-test/tests/TypedObject/fuzz5.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/TypedObject/fuzz5.js b/js/src/jit-test/tests/TypedObject/fuzz5.js
new file mode 100644
index 000000000..cc6eb9111
--- /dev/null
+++ b/js/src/jit-test/tests/TypedObject/fuzz5.js
@@ -0,0 +1,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});
+