PR c++/85242 - ICE with class definition in template parm.
authorJason Merrill <jason@redhat.com>
Fri, 6 Apr 2018 15:12:34 +0000 (11:12 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 6 Apr 2018 15:12:34 +0000 (11:12 -0400)
commita82f886aa67b81ef2c8499b698c2803f262bb582
treeab4e45d7fdb484fee55acad67b59576a299098f9
parent0c923157ab1522e9d8b2fe8c3dabc6c5cbc35b1d
PR c++/85242 - ICE with class definition in template parm.

* cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): False if
processing_template_parmlist.

From-SVN: r259178
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/testsuite/g++.dg/template/error58.C [new file with mode: 0644]