2015-11-26 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2015 13:14:45 +0000 (13:14 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2015 13:14:45 +0000 (13:14 +0000)
PR c++/67249
* g++.dg/concepts/pr67249.C: New.

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

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

index faae5f7..7e4e419 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>);