Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug513038.js
blob: 21cf1c3264871cf992836abe15c9a6374a678f77 [
file
] [
log
] [
blame
]
// Just don't assert or crash.
function
f
()
{
let c
try
{
(
eval
(
"
\
(
function
(){
\
with
(
\
this
.
__defineGetter__
(
\"x\"
,
function
(){
for
(
a
=
0
;
a
<
3
;
a
++){
c
=
a
}})
\
){}
\
})
\
"))()
}
catch
(
e
)
{}
}
f
()
print
(
x
)