* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr64686.C
blob714aa4100c59d190d1d4fb0b0c813e8f383feddc
1 // { dg-do compile }
2 class A
4 protected:
5   A *m_fn2 (int) const;
6 public:
7   virtual A *m_fn1 (int *) const = 0;
8 };
9 class B : A
11   B (A *, int, A *);
12   A *m_fn1 (int *) const;
14 A *
15 B::m_fn1 (int *) const
17   new B (m_fn2 (0)->m_fn1 (0), 0, m_fn2 (0)->m_fn1 (0));