Commit a6b602ca by Mark Mitchell Committed by Mark Mitchell

re PR c++/10558 (Segfault on illegal use of template without template args)

	PR c++/10558
	* g++.dg/parse/template8.C: New test.

From-SVN: r69226
parent d1bd0ded
2003-07-11 Mark Mitchell <mark@codesourcery.com> 2003-07-11 Mark Mitchell <mark@codesourcery.com>
PR c++/10558
* g++.dg/parse/template8.C: New test.
PR c++/8327 PR c++/8327
* g++.dg/template/scope1.C: New test. * g++.dg/template/scope1.C: New test.
......
namespace N
{
template <typename> struct A
{
template <typename T> A(A<T>);
};
}
void foo(N::A<int>);
void bar()
{
foo(N::A); // { dg-error "" }
}
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