* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / pr65552.C
blob57375d748025fcc121a0109a6d865caf7366da05
1 // { dg-options "-std=c++17 -fconcepts" }
3 template<typename T>
4 concept bool Concept() {
5   return requires () {
6     typename T::member_type1;
7     typename T::member_type2;
8   };
11 struct model {
12   using member_type1 = int;
13   using member_type2 = int;
16 template<Concept C>
17 struct S {};
19 S<model> s;