Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/g++.dg/pr64353.C

16 lines
182 B
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;
}