We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b08c0 commit 02755f9Copy full SHA for 02755f9
src/lpython/tests/test_llvm.cpp
@@ -884,10 +884,10 @@ def subr(x: f64, y: f64) -> f64:
884
CHECK(r.result.type == PythonCompiler::EvalResult::none);
885
r = e.evaluate2("addr(2.5, 3.5)");
886
CHECK(r.ok);
887
- CHECK(r.result.type == PythonCompiler::EvalResult::integer4);
888
- CHECK(r.result.i32 == 5);
+ CHECK(r.result.type == PythonCompiler::EvalResult::real8);
+ CHECK(r.result.f64 == 6);
889
r = e.evaluate2("subr(2.5, 3.5)");
890
891
892
- CHECK(r.result.i32 == -1);
+ CHECK(r.result.f64 == -1);
893
}
0 commit comments