c++: change -fconcepts to mean C++20 concepts
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / var-concept7.C
blob026fe9f416561f62d02fad5bd930c251633bb189
1 // PR c++/85133
2 // { dg-do compile { target c++17_only } }
3 // { dg-options "-fconcepts-ts" }
5 template<typename> concept bool C; // { dg-error "no initializer" }
7 template<C...> struct A {};
9 A<int> a;