Commit e5e95ba0 by Volker Reichelt Committed by Volker Reichelt

re PR c++/10079 (ICE (segfault) while substitute return type containing unresolved qualified id)

	PR c++/10079
	* g++.dg/template/crash16.C: New test.

From-SVN: r75246
parent 222a2f1a
2003-12-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/10079
* g++.dg/template/crash16.C: New test.
2003-12-30 Mark Mitchell <mark@codesourcery.com> 2003-12-30 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*. * g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.
......
// { dg-do compile }
// Origin: Alexander Stippler <stip@mathematik.uni-ulm.de>
// PR c++/10079
template <bool> struct A {};
template <typename> struct B
{
enum { e };
};
template <typename T> A<(B<T>::e && 0)> foo(T) {}
template <typename T> void foo(B<T>) {}
void bar()
{
B<int> b;
foo(b);
}
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