re PR c++/90598 (Return type of explicit destructor call wrong)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 May 2019 17:23:32 +0000 (19:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 May 2019 17:23:32 +0000 (19:23 +0200)
commitd05b516e5310dad3348d6d198d59c55fd28a2c6e
tree9d47b8f73b63025b3639d27de55260ece4a830cc
parent01b3b9e39fd837974c20ea2a8d50bde1ff50960f
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: r271783
gcc/testsuite/g++.dg/cpp0x/pr90598.C