Commit adf2ac06 by Steve Ellcey Committed by Steve Ellcey

re PR c++/28114 (ICE with struct definition in argument of template function)

	PR c++/28114
	* g++.dg/other/pr28114.C: New.

From-SVN: r115025
parent f340b6fc
2006-06-26 Steve Ellcey <sje@cup.hp.com>
PR c++/28114
* g++.dg/other/pr28114.C: New.
2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/compile/20060625-1.c: New test.
// Test to make sure we do not ICE on this invalid program.
template<int> void foo(struct {}*); // { dg-error "" }
void bar()
{
foo<0>(0); // { 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