haikuwebkit/LayoutTests/js/script-tests/dfg-sin-constant.js

8 lines
145 B
JavaScript

description(
"Tests that Math.sin() on a constant works in the DFG."
);
function foo() { return Math.sin(0); }
dfgShouldBe(foo, "foo()", "0");