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