Commit 2f201ba0 by Volker Reichelt Committed by Volker Reichelt

re PR c++/20552 (ICE in write_type, at cp/mangle.c:1579)

	PR c++/20552
	* g++.dg/ext/typeof10.C: New test.

From-SVN: r108796
parent 8ef1f2df
2005-12-19 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/20552
* g++.dg/ext/typeof10.C: New test.
2005-12-19 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/mt-loopi1.c: New.
// PR c++/20552
// Origin: Ivan Godard <igodard@pacbell.net>
template<int> struct A
{
void foo()
{
typedef int T; // { dg-error "previous" }
typedef __typeof__(*this) T; // { dg-error "conflicting" }
}
};
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