blob: 7c7810185d466e49f122115a0bd3df1395b9ab32 [file] [log] [blame]
// Header for PCH test cxx-offsetof-base.cpp
struct Base { int x; };
struct Derived : Base { int y; };
int o = __builtin_offsetof(Derived, x);