PR c++/64547
commit905a1e85fe60a887cd97ee882d88ae90f1ab0419
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2015 14:15:07 +0000 (12 14:15 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2015 14:15:07 +0000 (12 14:15 +0000)
tree3e6c9170b9c3b584b53f03d838e4ff08e2a0253e
parentb5115899cd90eb0b7586efa650c7e9caaa8623b9
PR c++/64547
* constexpr.c (cxx_eval_call_expression): A call to a void
function doesn't need to return a value.

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