PR c++/85228 - ICE with lambda in enumerator.
authorJason Merrill <jason@redhat.com>
Thu, 5 Apr 2018 14:48:40 +0000 (10:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Apr 2018 14:48:40 +0000 (10:48 -0400)
commit4cbe585c99bf621607420b341384bdb7e0e8a71d
treea03d05e7d47a98493d1700b2079764fa3ec89fef
parent9aee04a4c032b075d07bdde6f8bd22b06d709f42
PR c++/85228 - ICE with lambda in enumerator.

* pt.c (bt_instantiate_type_proc): Don't assume
CLASSTYPE_TEMPLATE_INFO is non-null.

From-SVN: r259130
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/constexpr-lambda21.C [new file with mode: 0644]