Commit 34daf61d by Lee Millward

re PR c++/27961 (ICE on invalid template declaration)

	PR c++/27961
	* g++.dg/template/crash60.C: New test.

From-SVN: r117672
parent 650fcd07
//PR c++/27961
struct A
{
template<int> void foo(X); // { dg-error "declared" }
};
template<int> void f()(0); // { dg-error "initialized" }
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