Daily bump.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / concepts-recursive-sat2.C
blob9bc96f58979dc4c3c065ef3425d6751e0f67c41c
1 // { dg-do compile { target c++20 } }
3 template<typename T>
4 concept Fooable = requires(T t) { foo(t); }; // { dg-error "depends on itself" }
6 template<Fooable T>
7 void foo(T t) { }
9 void test()
11   struct S {} s;
12   foo(s); // { dg-error "no match" }