WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / typed_arrays_DataView_Int8.js
1 function test() {
2
3 var buffer = new ArrayBuffer(64);
4 var view = new DataView(buffer);
5 view.setInt8 (0, 0x80);
6 return view.getInt8(0) === -0x80;
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12