PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash112.C
blobff35764c7c7aa71960cd3e4ebb15dc65e59a7526
1 // PR c++/51370
3 struct A
5   template<typename> void foo() {}
6 };
8 template<void (A::*)()> struct B {};
10 template<int> struct C
12   B<&A::foo<int int> > b; // { dg-error "declaration|type" }
15 C<0> c;
17 // { dg-prune-output "could not convert" }