The test is just a copy of clang/test/SemaCXX/class-layout.cpp, but with the __builtin_offsetof calls commented out.
Not sure if this is the best way to test it, but adding special cases for the new interpreter to existing test cases doesn't seem like a good option either.
No need for the else because of the unconditional return in the if branch.