]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2018-09-27 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Sep 2018 09:53:08 +0000 (09:53 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Sep 2018 09:53:08 +0000 (09:53 +0000)
PR c++/67544
* g++.dg/concepts/pr67544.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264665 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/concepts/pr67544.C [new file with mode: 0644]

index 4bca408202237f919e540acd0abe2e4ce54256fc..d723ef42ee47aeb08cdfff5d21d094a3ed8aa445 100644 (file)
@@ -1,3 +1,8 @@
+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
diff --git a/gcc/testsuite/g++.dg/concepts/pr67544.C b/gcc/testsuite/g++.dg/concepts/pr67544.C
new file mode 100644 (file)
index 0000000..af4f677
--- /dev/null
@@ -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;
+};