f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
5 lines
144 B
C
5 lines
144 B
C
// Header for PCH test cxx-offsetof-base.cpp
|
|
|
|
struct Base { int x; };
|
|
struct Derived : Base { int y; };
|
|
int o = __builtin_offsetof(Derived, x);
|