This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for virtual bases and templates
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Re: C++ PATCH for virtual bases and templates
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 30 May 1999 22:09:14 -0700
- Organization: CodeSourcery, LLC
- References: <19990530215401T.mitchell@codesourcery.com>
I included the wrong test-case with that last patch. Here is the
correct one.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
struct S
{
int i;
};
template <typename T>
struct X : virtual public T, virtual public S
{
int i;
X () : i (3) {}
};