bpf: create modifier for mem operand for xchg and cmpxchg
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr61654.C
blob78dc0c14cfd762d1609cf0dfe34824e61b7acae1
1 // PR middle-end/61654
2 // { dg-do compile }
4 class A
6   virtual int a (int, int = 0) = 0;
7   int b (const int &);
8   int c;
9 };
11 class B : virtual A
13   int d;
14   int a (int, int);
17 int
18 A::b (const int &)
20   return a ('\0');
23 int
24 B::a (int, int)
26   return 0 ? 0 : d;