Commit f2710bea by Nathan Sidwell Committed by Nathan Sidwell

re PR c++/21427 ([3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when…

re PR c++/21427 ([3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when compiling with multiply-inherited members)

	PR c++/21427
	* g++.dg/inherit/covariant13.C: New.

From-SVN: r99431
parent 880986c1
2005-05-09 Nathan Sidwell <nathan@codesourcery.com>
PR c++/21427
* g++.dg/inherit/covariant13.C: New.
2005-05-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/19155
......
// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 8 May 2005<nathan@codesourcery.com>
// Origin:Andrew Pinski: pinskia@gcc.gnu.org
// PR 21427: ICE on valid
struct B1 {
public:
virtual void foo();
};
struct B2 {
public:
virtual B2 & bar() = 0;
};
struct I : public B1, B2 {
public:
virtual ~I();
virtual I & bar();
};
struct D : public I {
virtual ~D();
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment