Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
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
;