Skip to content

Commit 65b6b86

Browse files
committed
Fix ScopeReflectionTestIsBuiltin emsdk 4.0.18
1 parent 4954c8e commit 65b6b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/CppInterOp/ScopeReflectionTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ TYPED_TEST(CppInterOpTest, ScopeReflectionTestIsBuiltin) {
220220
// "int", "unsigned int", "long", "unsigned long", "long long", "unsigned long long",
221221
// "float", "double", "long double", "void"}
222222

223-
std::vector<const char*> interpreter_args = { "-include", "new" };
223+
std::vector<const char*> interpreter_args = { "-include", "new", "-Xclang", "-iwithsysroot/include/compat" };
224224

225225
TestFixture::CreateInterpreter(interpreter_args);
226226
ASTContext &C = Interp->getCI()->getASTContext();

0 commit comments

Comments
 (0)