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
This commit is contained in:
parent
75cd1c8f4e
commit
e7e5ba0984
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
PR bootstrap/41180
|
||||
|
@ -1,4 +1,9 @@
|
||||
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
|
||||
* gcc.dg/pr39979.c: New test.
|
||||
|
8
gcc/testsuite/g++.dg/template/crash91.C
Normal file
8
gcc/testsuite/g++.dg/template/crash91.C
Normal file
@ -0,0 +1,8 @@
|
||||
// PR c++/28293
|
||||
|
||||
template<int> void foo();
|
||||
|
||||
struct A
|
||||
{
|
||||
typedef void foo<0>(); // { dg-error "explicit template argument list not allowed" }
|
||||
};
|
Loading…
Reference in New Issue
Block a user