Sign in
webkit
/
WebKit
/
0275dd758c81b848ac8950d5c060767bd63fa90a
/
.
/
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"
;