jerryscript/tests/jerry/es2015/regression-test-issue-3204.js
Robert Fancsik 9e323cdcd6
Improve ecma_typedarray_info_t (#3205)
- The structure members have been renamed and the members got more detailed description.
- Updated the usage of the typedarray info structure in all occurrences to use absolute addressing from the underlying arraybuffer pointer.

This patch also fixes #3204.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
2019-10-09 14:10:54 +02:00

27 lines
1.0 KiB
JavaScript

// Copyright JS Foundation and other contributors, http://js.foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
(function tc3204_1 () {
(new Int16Array(7029)).subarray(5812).reduce(function() { })
})();
(function tc3204_2 () {
(new (Uint8Array)((new (ArrayBuffer)("5")), EvalError.length)).reduceRight(function() { })
})();
(function tc3204_3 () {
var v0 = (((new ((new ((new Object).constructor)).constructor)).constructor)("")).split( )
var $ = (new Float64Array(7652)).subarray(1872).reduce((new (v0.filter.constructor)))
})();