Sign in
webkit
/
WebKit
/
73559930a6418bc4621c1c5774b11e1be9c21a8f
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-not-string.js
blob: 43aac6f7aa25422120b50753ea3b6a388ae78e9c [
file
] [
log
] [
blame
]
function
foo
(
text
)
{
return
!!
text
}
function
test
()
{
var
sum
=
0
;
var
str
=
""
for
(
var
i
=
0
;
i
<
10
;
i
++)
{
sum
+=
foo
(
str
)
if
(
sum
<
5
)
str
+=
"a"
}
return
sum
}
dfgShouldBe
(
foo
,
"test()"
,
"9"
);