Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / inherit / covariant10.C
blob4fcf7ead234ad0cd91e736f5a8da900a8d2c0bc7
1 // { dg-do compile }
3 // Contributed by Nathan Sidwell 23 Oct 2003 <nathan@codesourcery.com>
4 // Origin: grigory@stl.sarov.ru
5 // PR c++/12699 ICE with covariancy
7 struct c1 {
8   virtual void f1() const {};
9 };
11 struct c5 {};
13 struct c6 : virtual c1 {
14   virtual c5* f33() const {};
17 struct c13 : virtual c5 { };
19 struct c17 : virtual c6
21   virtual c13* f33() const {};