Skip to content

Commit 0210023

Browse files
authored
Reverting previous commit
1 parent bd7645f commit 0210023

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

unittests/CppInterOp/InterpreterTest.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,8 @@ TEST(InterpreterTest, Evaluate) {
6868
//EXPECT_TRUE(Cpp::Evaluate(I, "__cplusplus;") == 201402);
6969
// Due to a deficiency in the clang-repl implementation to get the value we
7070
// always must omit the ;
71-
std::vector<const char*> Args = {
72-
"-std=c++20"
73-
};
74-
Cpp::CreateInterpreter(Args);
75-
EXPECT_TRUE(Cpp::Evaluate("__cplusplus") == 202002);
71+
Cpp::CreateInterpreter();
72+
EXPECT_TRUE(Cpp::Evaluate("__cplusplus") == 201402);
7673

7774
bool HadError;
7875
EXPECT_TRUE(Cpp::Evaluate("#error", &HadError) == (intptr_t)~0UL);

0 commit comments

Comments
 (0)