Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}