var a = new Uint16Array(Uint16Array, Uint16Array);
var b = `
var o = {
m(apple) {
class Foo extends b {
static {}
512;
static #m() {}
}
return apple;
},
};
`;
for (var [...i] of b) {
i.splice(a, i);
b += i;
function bar() {
return Uint16Array;
}
try { bar.constructor(b); } catch (e) {}
}
Error message:
SEGV on ASAN version
AddressSanitizer:DEADLYSIGNAL
=================================================================
==510031==ERROR: AddressSanitizer: SEGV on unknown address 0x000000005198 (pc 0x5618574bc04b bp 0x7ffd51997c50 sp 0x7ffd51997bb0 T0)
==510031==The signal is caused by a READ memory access.
jerryScript version 3.0.0: commit 05dbbd134c3b9e2482998f267857dd3722001cd7
Build platform: Ubuntu 20.04
Build cmd:
Test case
Error message:
SEGV on ASAN version
Aborted with assertion error in debug version: