blob: 4eca03df4d4329aab2d434401e524f661b4ac7e1 [file] [log] [blame]
// { dg-do assemble }
template <class T, class U>
int func(U, T); // { dg-error "" } ref below
template <class T, class U>
int func(T, U)
{ // { dg-error "" } ref below
return 2;
}
int main ()
{
func (0, 1); // { dg-error "" } ambiguous
}