Commit 81242403 by Volker Reichelt Committed by Volker Reichelt

re PR c++/5402 (ICE in pop_binding)

	PR c++/5402
	* g++.dg/lookup/name-clash1.C: New test.

	PR c++/9777
	* g++.dg/lookup/name-clash2.C: New test.

	PR c++/12102
	* g++.dg/lookup/name-clash3.C: New test.

From-SVN: r84587
parent 81f80f5f
2004-07-12 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/5402
* g++.dg/lookup/name-clash1.C: New test.
PR c++/9777
* g++.dg/lookup/name-clash2.C: New test.
PR c++/12102
* g++.dg/lookup/name-clash3.C: New test.
2004-07-12 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/lookup/new2.C: New test.
......
// { dg-do compile }
// Origin: Jakub Jelinek <jakub@redhat.com>
// PR c++/5402
struct A
{
struct B {};
};
struct C
{
typedef int B;
};
struct D : A
{
struct E : C {};
struct B {};
};
// { dg-do compile }
// Origin: Sven Bilke <bilkes@mail.nih.gov>
// PR c++/9777
struct A
{
struct X {};
struct Y { void X(); };
};
struct B : A
{
struct Y : A::Y {};
struct X : A::X {};
};
// { dg-do compile }
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// PR c++/12102
struct A
{
struct C {} C;
};
struct B : A
{
struct C {} C;
};
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