blob: 98dae079c506be78c45139dc086be8ae89216055 [file] [log] [blame]
//@ skip if $memoryLimited
var exception;
try {
Function('a'.repeat(2147483623));
} catch (e) {
exception = e;
}
if (exception != "Error: Out of memory")
throw "FAILED";