[Patch SRA] Fix PR66119 by calling get_move_ratio in SRA
[official-gcc.git] / gcc / testsuite / g++.dg / pr47053.C
blob186e3a7ad10e858f66a2505e0313b5071e82bc85
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fnon-call-exceptions" } */
3 struct A
5   int i;
6   virtual ~A ()
7   {}
8 };
10 struct B : virtual A
11 {};
13 struct C : public B
15   C ();
16   ~C (){}
19 void foo ()
21   C c;