diff options
-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; +}; |