From 90e79377a542e63b5cded9c72064b11e7833cce4 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Thu, 27 Sep 2018 09:53:08 +0000 Subject: [PATCH] re PR c++/67544 (ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts) 2018-09-27 Paolo Carlini PR c++/67544 * g++.dg/concepts/pr67544.C: New. From-SVN: r264665 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/concepts/pr67544.C | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 gcc/testsuite/g++.dg/concepts/pr67544.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4bca4082022..d723ef42ee4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-09-27 Paolo Carlini + + PR c++/67544 + * g++.dg/concepts/pr67544.C: New. + 2018-09-27 Paolo Carlini PR c++/84940 diff --git a/gcc/testsuite/g++.dg/concepts/pr67544.C b/gcc/testsuite/g++.dg/concepts/pr67544.C new file mode 100644 index 00000000000..af4f677644a --- /dev/null +++ b/gcc/testsuite/g++.dg/concepts/pr67544.C @@ -0,0 +1,11 @@ +// { dg-additional-options "-fconcepts" } + +template struct A +{ + struct B; +}; + +struct C +{ + template friend struct A::B; +}; -- 2.30.2