1 // PR middle-end/113705
2 // { dg-do compile { target c++17 } }
3 // { dg-options "-O2 -w" }
6 template <typename T> struct A : T { long bar () const; };
13 return this->baz ()[a];
17 struct { long b[1]; long c; } u;
22 const long *baz () const;
23 unsigned qux () const;
28 if (__builtin_expect (e, 0))
34 if (__builtin_expect (e, 0))
50 struct C { A<B> corge () const; A<B> *f; };
59 test (C r, long *h, unsigned short *d)
61 for (int j = 0; j < 8; ++j)
65 for (unsigned i = 0; i < *d; ++i)