Sign in
webkit
/
WebKit
/
1a79bee400eb09e4e61992ad877612506d12b02d
/
.
/
JSTests
/
stress
/
string-16bit-repeat-overflow.js
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"
;