[Patch SRA] Fix PR66119 by calling get_move_ratio in SRA
[official-gcc.git] / gcc / testsuite / g++.dg / pr64353.C
blob7859918cf56cc89734aa2cd96408045633445c6f
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 class C
6   int y, x;
7   void i ();
8   bool __attribute__((const)) xx () { return x; }
9 };
11 void C::i ()
13   if (xx ())
14     x = 1;