mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-13 16:09:46 -04:00
6 lines
144 B
C
6 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);
|