Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
offsetof3.C
blob: 905e5f58a1f40fc343b4aa25d268826db5e233b0 [
file
] [
log
] [
blame
]
// PR c++/13529
#include
<cstddef>
struct
A
{
int
i
;
};
struct
B
{
A a
;
};
int
main
()
{
return
offsetof
(
B
,
a
.
i
)
!=
0
;
}