lex.c (make_lang_type): Create TYPE_BINFO for TEMPLATE_TYPE_PARMs just like for non-template types.

* lex.c (make_lang_type): Create TYPE_BINFO for
	TEMPLATE_TYPE_PARMs just like for non-template types.

[[Split portion of a mixed commit.]]

From-SVN: r27258.2
This commit is contained in:
Mark Mitchell 1999-05-30 21:50:49 +00:00
parent 5d5139f54a
commit fcd3f0bc88

View File

@ -0,0 +1,16 @@
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
template <typename X>
struct S : virtual public X
{
int i;
};
template <typename T>
struct X : virtual public T, virtual public S<T>
{
int i;
X () : i (3) {}
};