re PR c++/66445 (ICE with lambda in stmt expression in a template)
authorJason Merrill <jason@redhat.com>
Thu, 11 Jun 2015 15:45:08 +0000 (11:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 11 Jun 2015 15:45:08 +0000 (11:45 -0400)
commit133bc698cb8f42e3655fc68fee19c62fd18d98f7
treea7f47c02064f13ba211155bec11f1c616d004ee1
parentacb2970c3bdf4cfd81954278d28f53adcffab99c
re PR c++/66445 (ICE with lambda in stmt expression in a template)

PR c++/66445
* constexpr.c (potential_constant_expression_1): Handle a
DECL_EXPR of TYPE_DECL.

From-SVN: r224382
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/stmtexpr18.C [new file with mode: 0644]