Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
stress
/
string-16bit-repeat-overflow.js
blob: f7c41c87c2e69a6b51ee76013a8f8a1b21149302 [
file
] [
log
] [
blame
]
//@ skip if $memoryLimited
var
exception
;
try
{
print
(
'\ud000'
.
repeat
(
2
**
30
));
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"Error: Out of memory"
)
throw
"FAILED"
;