3d1dcd9bfd
http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor)
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);
|