* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / alias2.C
blob2de2aa4da940a5665ea96aa9cf7c41a331f9f9b2
1 // { dg-options "-std=c++17 -fconcepts" }
3 template<typename T>
4   concept bool C() { return __is_class(T); }
6 template<C T> using X = T*;
8 struct S { };
10 int main()
12   X<S> x1;