blob: cb0b618df9b372d1828cf6edffad02bf13eac6f0 [file] [log] [blame]
//@ skip if $memoryLimited
//@ runDefault
try {
RegExp({toString: ()=> ''.padEnd(2**31-1, 10 .toLocaleString()) });
} catch (e) {
exception = e;
}
if (exception != "Error: Out of memory")
throw "FAILED";