c++: change -fconcepts to mean C++20 concepts
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / var-templ3.C
blob662511eee03e13262489b1667f298a793b664be1
1 // PR c++/68666
2 // { dg-do compile { target c++17_only } }
3 // { dg-options "-fconcepts-ts" }
5 struct A {
6   template <class>
7   static constexpr bool val = true;
8 };
10 template <class T>
11 concept bool C = A::val<T>;
13 C{T} struct B {};