PR c++/81853 - using-directive and constexpr.
commit7285637ab1390a21fb3da86ec73ac74e3550b32d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 21:02:55 +0000 (16 21:02 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 21:02:55 +0000 (16 21:02 +0000)
treecf047000740d1698d40e8998390e30b3fe94c896
parentc2f14a91ec59188504f4be205cb986b0726d50f2
PR c++/81853 - using-directive and constexpr.

* constexpr.c (cxx_eval_constant_expression): Handle USING_STMT.

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