2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71131
* g++.dg/concepts/pr71131.C: New.
2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71127
* g++.dg/concepts/pr71127.C: New.
From-SVN: r264639
+2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/71131
+ * g++.dg/concepts/pr71131.C: New.
+
+2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/71127
+ * g++.dg/concepts/pr71127.C: New.
+
2018-09-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67655
--- /dev/null
+// { dg-do compile { target c++14 } }
+// { dg-additional-options "-fconcepts" }
+
+template<template<typename> class T>
+concept bool C = T<int>::value;
+C c = 1; // { dg-error "invalid reference to concept" }
--- /dev/null
+// { dg-do compile { target c++14 } }
+// { dg-additional-options "-fconcepts" }
+
+template<template<typename> class T>
+concept bool C = true;
+C c = 1; // { dg-error "invalid reference to concept" }