Skip to content

Commit 7e53b7b

Browse files
committed
Use cling::Declare instead of Process for include tests
This hints towards a bug in cling::Process when we JIT two includes one after another like ``` std::string code = R"(#include <vector> \n #include <iostream)" Interp->process(code); ```
1 parent 6295b7e commit 7e53b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: interpreter/CppInterOp/unittests/CppInterOp/ScopeReflectionTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ TEST(ScopeReflectionTest, IncludeVector) {
953953
#include <vector>
954954
#include <iostream>
955955
)";
956-
Interp->process(code);
956+
Interp->declare(code);
957957
}
958958

959959
TEST(ScopeReflectionTest, GetBinaryOperator) {

0 commit comments

Comments
 (0)