re PR c++/64547 (A non-const constexpr function is rejected incorrectly)
commit49c8bc0c77ee47f604c1e1ebe41cd9170fd33f48
authorJason Merrill <jason@redhat.com>
Mon, 12 Jan 2015 14:15:07 +0000 (12 09:15 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Jan 2015 14:15:07 +0000 (12 09:15 -0500)
tree3e6c9170b9c3b584b53f03d838e4ff08e2a0253e
parent9a4fbc59086660c0348e7f233fed2a4ce7694235
re PR c++/64547 (A non-const constexpr function is rejected incorrectly)

PR c++/64547
* constexpr.c (cxx_eval_call_expression): A call to a void
function doesn't need to return a value.

From-SVN: r219466
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp1y/constexpr-void2.C [new file with mode: 0644]