From d05b516e5310dad3348d6d198d59c55fd28a2c6e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 30 May 2019 19:23:32 +0200 Subject: [PATCH] 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 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcc/testsuite/g++.dg/cpp0x/pr90598.C b/gcc/testsuite/g++.dg/cpp0x/pr90598.C index 2e77444f9f3..0ee3fb189a6 100644 --- a/gcc/testsuite/g++.dg/cpp0x/pr90598.C +++ b/gcc/testsuite/g++.dg/cpp0x/pr90598.C @@ -6,11 +6,3 @@ using B = decltype(A ().~A ()); template struct C; template <> struct C {}; C t; -// PR c++/90598 -// { dg-do compile { target c++11 } } - -struct A {}; -using B = decltype(A ().~A ()); -template struct C; -template <> struct C {}; -C t; -- 2.30.2