aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template30.C
blob: b9a6dbeaf3f7bfb7074b79667332332b2c4f5e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
template <class T, class U>    
int func(U, T);			// ERROR - ref below

template <class T, class U>    
int func(T, U)
{				// ERROR - ref below
        return 2;
}

main ()
{
  func (0, 1);			// ERROR - ambiguous
}