projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b3b9e
)
re PR c++/90598 (Return type of explicit destructor call wrong)
author
Jakub Jelinek
<jakub@gcc.gnu.org>
Thu, 30 May 2019 17:23:32 +0000
(19:23 +0200)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Thu, 30 May 2019 17:23:32 +0000
(19:23 +0200)
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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp0x/pr90598.C
b/gcc/testsuite/g++.dg/cpp0x/pr90598.C
index 2e77444f9f32f40ab435aa657d1736b26a495eaa..0ee3fb189a6fe2533b325df286ee5c7c512cb05c 100644
(file)
--- 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 <typename T> struct C;
template <> struct C<void> {};
C<B> t;
-// PR c++/90598
-// { dg-do compile { target c++11 } }
-
-struct A {};
-using B = decltype(A ().~A ());
-template <typename T> struct C;
-template <> struct C<void> {};
-C<B> t;