summaryrefslogtreecommitdiff
path: root/tests/test_builtin.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_builtin.js')
-rw-r--r--tests/test_builtin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_builtin.js b/tests/test_builtin.js
index 423841d..667650a 100644
--- a/tests/test_builtin.js
+++ b/tests/test_builtin.js
@@ -489,6 +489,9 @@ function test_typed_array()
a = new Uint16Array(buffer, 2);
a[0] = -1;
+ a = new Float16Array(buffer, 8, 1);
+ a[0] = 1;
+
a = new Float32Array(buffer, 8, 1);
a[0] = 1;