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