Sign in
webkit
/
WebKit
/
e0dc16a522ef373cb01a123d3af713236760799b
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-mod-1-int.js
blob: 6eeac3c22bdccd6a42ff8df4eb25e78f87b8ba77 [
file
] [
log
] [
blame
]
description
(
"Tests that the DFG handles x % 1, where x is an integer, correctly."
);
function
foo
(
x
)
{
return
x
%
1
;
}
dfgShouldBe
(
foo
,
"foo(1)"
,
"0"
);