Sign in
webkit
/
WebKit
/
5affe2ac9062ea37f2afcab86b39300d2557a382
/
.
/
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"
);