Skip to content

Commit

Permalink
Update ScopeReflectionTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored May 18, 2024
1 parent bc97ca0 commit 9f634ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unittests/CppInterOp/ScopeReflectionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,9 @@ typedef int maybeunused;
#undef Stringifyx
#undef Stringify
#undef CODE
#if __APPLE__
#undef maybeunused

#endif
auto *c = new C();
EXPECT_EQ(Cpp::GetBaseClassOffset(Decls[2], Decls[0]), (char *)(A*)c - (char *)c);
EXPECT_EQ(Cpp::GetBaseClassOffset(Decls[2], Decls[1]), (char *)(B*)c - (char *)c);
Expand Down

0 comments on commit 9f634ea

Please sign in to comment.