diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2017-10-11 10:01:23 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2017-10-11 10:01:23 +0000 |
commit | 08f0a7396e63ab3d018bacac1a098e6de1e70308 (patch) | |
tree | 0d71e825c5d41e9e14df37ba363e7ef376c22dfe | |
parent | 1d14f58c1fbe6dace2666705c3e9262df53bda6d (diff) | |
download | gcc-08f0a7396e63ab3d018bacac1a098e6de1e70308.zip gcc-08f0a7396e63ab3d018bacac1a098e6de1e70308.tar.gz gcc-08f0a7396e63ab3d018bacac1a098e6de1e70308.tar.bz2 |
re PR c++/80412 ([c++17] crash with class template deduction guide and inheritance)
2017-10-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/80412
* g++.dg/cpp1z/class-deduction44.C: New.
From-SVN: r253632
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/class-deduction44.C | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ce40191..60cdae8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2017-10-11 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/80412 + * g++.dg/cpp1z/class-deduction44.C: New. + +2017-10-11 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/82230 * g++.dg/cpp1y/lambda-generic-ice8.C: New. 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 0000000..1571197 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1z/class-deduction44.C @@ -0,0 +1,5 @@ +// PR c++/80412 +// { dg-options -std=c++17 } + +template <typename> struct A; +template <typename> struct B : A < B { , // { dg-error "" } |