Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4ef19205b6912316296db74a9073ad6fa60e4cca
/
.
/
test
/
PCH
/
cxx-offsetof-base.h
blob: 7c7810185d466e49f122115a0bd3df1395b9ab32 [
file
] [
log
] [
blame
]
Argyrios Kyrtzidis
afbf312
2010-07-29 18:16:10 +0000
[
diff
] [
blame
]
1
// Header for PCH test cxx-offsetof-base.cpp
2
3
struct
Base
{
int
x
;
};
4
struct
Derived
:
Base
{
int
y
;
};
5
int
o
=
__builtin_offsetof
(
Derived
,
x
);