Commit e7e5ba09 by Paolo Carlini

re PR c++/28293 (ICE on invalid typedef)

/cp
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/28293
	* decl.c (grokfield): Check for explicit template argument lists.

/testsuite
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/28293
	* g++.dg/template/crash91.C: New.

From-SVN: r151580
parent 75cd1c8f
2009-09-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/28293
* decl.c (grokfield): Check for explicit template argument lists.
2009-09-09 Jack Howarth <howarth@bromo.med.uc.edu> 2009-09-09 Jack Howarth <howarth@bromo.med.uc.edu>
PR bootstrap/41180 PR bootstrap/41180
......
2009-09-09 Uros Bizjak <ubizjak@gmail.com> 2009-09-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/28293
* g++.dg/template/crash91.C: New.
2009-09-09 Uros Bizjak <ubizjak@gmail.com>
PR rtl-optimization/39779 PR rtl-optimization/39779
* gcc.dg/pr39979.c: New test. * gcc.dg/pr39979.c: New test.
......
// PR c++/28293
template<int> void foo();
struct A
{
typedef void foo<0>(); // { dg-error "explicit template argument list not allowed" }
};
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