blob: ad312b2402fff8cf20f4d21572d636899df365d1 [file] [log] [blame]
//@ skip if $memoryLimited
var exception;
try {
print('\ud000'.repeat(2**30));
} catch (e) {
exception = e;
}
if (exception != "RangeError: Out of memory")
throw "FAILED";