(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
pr64353.C
/* { dg-do compile } */
/* { dg-options "-O2" } */

class C
{
  int y, x;
  void i ();
  bool __attribute__((const)) xx () { return x; }
};

void C::i ()
{
  if (xx ())
    x = 1;
}