blob: cd0e57985a87990d66706bfaa90ea54f140d5c99 [file] [log] [blame]
//@ skip if $memoryLimited
try {
var a0 = '\ud801';
var a1 = [];
a2 = a0.padEnd(2147483644,'x');
a1[a2];
} catch (e) {
exception = e;
}
if (exception != "Error: Out of memory")
throw "FAILED";