[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / cxx-offsetof-base.h
blob7c7810185d466e49f122115a0bd3df1395b9ab32
1 // Header for PCH test cxx-offsetof-base.cpp
3 struct Base { int x; };
4 struct Derived : Base { int y; };
5 int o = __builtin_offsetof(Derived, x);