Commit fcd3f0bc by Mark Mitchell

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
parent 5d5139f5
// 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) {}
};
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