diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-09-27 09:53:08 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-09-27 09:53:08 +0000 |
commit | 90e79377a542e63b5cded9c72064b11e7833cce4 (patch) | |
tree | f9a8bcb9edf86b36f18e7666222ee7150c653481 | |
parent | 0798984a5a59e9162596db04cbf9eacc8541da7f (diff) | |
download | gcc-90e79377a542e63b5cded9c72064b11e7833cce4.zip gcc-90e79377a542e63b5cded9c72064b11e7833cce4.tar.gz gcc-90e79377a542e63b5cded9c72064b11e7833cce4.tar.bz2 |
re PR c++/67544 (ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts)
2018-09-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67544
* g++.dg/concepts/pr67544.C: New.
From-SVN: r264665
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/concepts/pr67544.C | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4bca408..d723ef4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2018-09-27 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/67544 + * g++.dg/concepts/pr67544.C: New. + +2018-09-27 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/84940 * g++.dg/expr/unary4.C: New. diff --git a/gcc/testsuite/g++.dg/concepts/pr67544.C b/gcc/testsuite/g++.dg/concepts/pr67544.C new file mode 100644 index 0000000..af4f677 --- /dev/null +++ b/gcc/testsuite/g++.dg/concepts/pr67544.C @@ -0,0 +1,11 @@ +// { dg-additional-options "-fconcepts" } + +template <typename T> struct A +{ + struct B; +}; + +struct C +{ + template<typename T> friend struct A<T>::B; +}; |