From: Paolo Carlini Date: Wed, 11 Oct 2017 10:01:23 +0000 (+0000) Subject: re PR c++/80412 ([c++17] crash with class template deduction guide and inheritance) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08f0a7396e63ab3d018bacac1a098e6de1e70308;p=gcc.git re PR c++/80412 ([c++17] crash with class template deduction guide and inheritance) 2017-10-11 Paolo Carlini PR c++/80412 * g++.dg/cpp1z/class-deduction44.C: New. From-SVN: r253632 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ce4019198fb..60cdae80f8e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-11 Paolo Carlini + + PR c++/80412 + * g++.dg/cpp1z/class-deduction44.C: New. + 2017-10-11 Paolo Carlini PR c++/82230 diff --git a/gcc/testsuite/g++.dg/cpp1z/class-deduction44.C b/gcc/testsuite/g++.dg/cpp1z/class-deduction44.C new file mode 100644 index 00000000000..15711971f51 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1z/class-deduction44.C @@ -0,0 +1,5 @@ +// PR c++/80412 +// { dg-options -std=c++17 } + +template struct A; +template struct B : A < B { , // { dg-error "" }