| 1 |
/* PR rtl-optimization/62078 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-Og -fdelete-dead-exceptions -fnon-call-exceptions" } */ |
| 4 |
|
| 5 |
struct A { virtual ~A (); }; |
| 6 |
struct B : A {}; |
| 7 |
struct C : B {}; |
| 8 |
struct D : C {}; |
| 9 |
struct E : D {}; |
| 10 |
struct F : E {}; |
| 11 |
struct G : F {}; |
| 12 |
struct H : G {}; |
| 13 |
struct I : H {}; |
| 14 |
struct J : I {}; |
| 15 |
struct K : J {}; |
| 16 |
struct L : K {}; |
| 17 |
struct M : L {}; |
| 18 |
struct N : M {}; |
| 19 |
struct O : N {}; |
| 20 |
struct P : O {}; |
| 21 |
struct Q : P {}; |
| 22 |
struct R : Q {}; |
| 23 |
struct S : R {}; |
| 24 |
struct T : S {}; |
| 25 |
struct U : T {}; |
| 26 |
struct V : U {}; |
| 27 |
struct W : V {}; |
| 28 |
struct X : W {}; |
| 29 |
struct Y : X {}; |
| 30 |
struct Z : Y {}; |
| 31 |
|
| 32 |
void |
| 33 |
foo () |
| 34 |
{ |
| 35 |
Z z; |
| 36 |
} |