PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / pr47589.C
blob6bc3c80347dc5da3aa7ae2003eef26f4f85f2e45
1 // PR c++/47589
2 // { dg-do compile }
4 struct F
6     typedef void(*Cb)();
8     F(Cb);
9 };
11 struct C
13     template<class D> static void f();
16 template<class D>
17 struct TF : F
19     TF() : F(C::f<D>) { }
22 struct DTC : TF<DTC>
24     DTC() { }