re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr22404.C
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 /* We were not getting the offset of a in B and a in C::B correct,
5 causing an abort. */
6 struct A { A(); };
7
8 struct B : A
9 {
10 A a;
11 };
12
13 struct C : B { };
14
15 C c;