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