We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7645f commit 0210023Copy full SHA for 0210023
unittests/CppInterOp/InterpreterTest.cpp
@@ -68,11 +68,8 @@ TEST(InterpreterTest, Evaluate) {
68
//EXPECT_TRUE(Cpp::Evaluate(I, "__cplusplus;") == 201402);
69
// Due to a deficiency in the clang-repl implementation to get the value we
70
// 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);
+ Cpp::CreateInterpreter();
+ EXPECT_TRUE(Cpp::Evaluate("__cplusplus") == 201402);
76
77
bool HadError;
78
EXPECT_TRUE(Cpp::Evaluate("#error", &HadError) == (intptr_t)~0UL);
0 commit comments