Debian Codegraph @

gcc/testsuite/g++.dg/pr64353.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 class C
5 {
6 int y, x;
7 void i ();
8 bool __attribute__((const)) xx () { return x; }
9 };
10
11 void C::i ()
12 {
13 if (xx ())
14 x = 1;
15 }