PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / req19.C
blobd52ac23ddda22585f036aa23a4d1e3d54c524669
1 // { dg-options "-std=c++17 -fconcepts" }
3 struct B
5   template <class T> void f(T t)
6     requires requires (T tt) { tt; }
7   { }
8 };
10 int main()
12   B().f(42);