re PR c++/90598 (Return type of explicit destructor call wrong)
authorJakub Jelinek <jakub@redhat.com>
Wed, 29 May 2019 21:33:18 +0000 (23:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 29 May 2019 21:33:18 +0000 (23:33 +0200)
commit874f88c43bc504d49228f53365d2fd565077ecdd
treed6f4d801970651ac576e1130faee49a64d65bf5f
parent1585b483236dc2e9a9460a11c14cf3b32a967a84
re PR c++/90598 (Return type of explicit destructor call wrong)

PR c++/90598
* tree.c (lvalue_kind): Return clk_none for expressions with
with VOID_TYPE_P.

* g++.dg/cpp0x/pr90598.C: New test.

From-SVN: r271752
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr90598.C [new file with mode: 0644]