PR c++/66445
commitdb1ae94f252a869aaadda3f5a13139b9ed2ec327
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 2015 15:45:08 +0000 (11 15:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 2015 15:45:08 +0000 (11 15:45 +0000)
treea7f47c02064f13ba211155bec11f1c616d004ee1
parent469dc5a6f11066e43299098d55332133caeea689
PR c++/66445
* constexpr.c (potential_constant_expression_1): Handle a
DECL_EXPR of TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224382 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/stmtexpr18.C [new file with mode: 0644]