Skip to content

Commit 9efcd09

Browse files
committed
debug printf
1 parent b49ee3d commit 9efcd09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unittests/CppInterOp/FunctionReflectionTest.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -880,9 +880,8 @@ TEST(FunctionReflectionTest, GetFunctionCallWrapper) {
880880
// `void f2(std::string &s) { std::cout << s.c_str(); };` appear at the end of the test suite run. Attempting to fix this issue by force flushing does not work, and printf statements in the test code itself appear on the screen. This indicates issues with linking, since the Interpreter runtime operating on a different buffer than the compile runtime. We ideally want to support the usage of printf statements when invoked through `JitCall`.
881881

882882
Interp->process(R"(
883-
#include <string>
884883
#include <iostream>
885-
void f2(std::string &s) { std::cout << s.c_str(); };
884+
void f2(std::string &s) { std::cout << s; };
886885
)");
887886

888887
Interp->process(R"(

0 commit comments

Comments
 (0)