// { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template concept bool C() { return true; } // { dg-error "the .bool. keyword|function concepts" } template bool C(); // { dg-error "template function|not a function template|expected" } template concept bool D = true; // { dg-error "the .bool. keyword|variable concepts are no longer supported" } template bool D; // { dg-error "not a template function|expected" }