/cp
2018-09-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84980
* constraint.cc (finish_shorthand_constraint): Early return if the
constraint is erroneous.
/testsuite
2018-09-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84980
* g++.dg/concepts/pr84980.C: New.
From-SVN: r264051
+2018-09-03 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/84980
+ * constraint.cc (finish_shorthand_constraint): Early return if the
+ constraint is erroneous.
+
2018-09-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
* decl.c (eval_check_narrowing): Remove.
if (!constr)
return NULL_TREE;
+ if (error_operand_p (constr))
+ return NULL_TREE;
+
tree proto = CONSTRAINED_PARM_PROTOTYPE (constr);
tree con = CONSTRAINED_PARM_CONCEPT (constr);
tree args = CONSTRAINED_PARM_EXTRA_ARGS (constr);
+2018-09-03 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/84980
+ * g++.dg/concepts/pr84980.C: New.
+
2018-09-03 Martin Liska <mliska@suse.cz>
PR middle-end/59521
--- /dev/null
+// { dg-do compile { target c++14 } }
+// { dg-additional-options "-fconcepts" }
+
+template<T> concept bool C = true; // { dg-error "has not been declared" }
+
+template<C...> struct A;