OSDN Git Service

2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash92.C
1 // PR c++/42055
2
3 template<typename T> void foo(T, T); // { dg-error "candidates|template" }
4
5 template<typename T> void foo(T, int); // { dg-error "template" }
6
7 template void foo(int, int); // { dg-error "ambiguous template specialization" }