Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr22404.C
blob: 2c6b8cd2729464447c6066c1940eb836ada46c20 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* We were not getting the offset of a in B and a in C::B correct,
causing an abort. */
struct
A
{
A
();
};
struct
B
:
A
{
A a
;
};
struct
C
:
B
{
};
C c
;