re PR c++/67249 ([concepts] ICE parsing f(pair<auto, concept>))
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 26 Nov 2015 13:14:45 +0000 (13:14 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 26 Nov 2015 13:14:45 +0000 (13:14 +0000)
2015-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/67249
* g++.dg/concepts/pr67249.C: New.

From-SVN: r230947

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

index faae5f79dfd3b05175bdefce5b9dfe3d6aeeb47e..7e4e41998253d28f8ab8bc4321c3a8b1c9cbe0ad 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-26  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/67249
+       * g++.dg/concepts/pr67249.C: New.
+
 2015-11-26  Richard Biener  <rguenther@suse.de>
 
        PR testsuite/66799
diff --git a/gcc/testsuite/g++.dg/concepts/pr67249.C b/gcc/testsuite/g++.dg/concepts/pr67249.C
new file mode 100644 (file)
index 0000000..cb0445d
--- /dev/null
@@ -0,0 +1,5 @@
+// { dg-options "-std=c++1z" }
+
+template<class T> concept bool C1 = true;
+template<class A, class B> struct Pair {};
+void f(Pair<auto, C1>);