PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash92.C
blob1153ef61934faa3d26165c5ef0d59ea47c177976
1 // PR c++/42055
3 template<typename T> void foo(T, T); // { dg-message "candidates|template" }
5 template<typename T> void foo(T, int); // { dg-message "template" }
7 template void foo(int, int); // { dg-error "ambiguous template specialization" }