Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/pr114426.C

raw
1 // PR c++/114426
2 // { dg-do compile }
3 // { dg-additional-options "-O2" }
4
5 struct A { virtual ~A (); };
6 struct B : virtual A { virtual void foo () = 0; };
7 struct C : B { C () {} };