Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template30.C
blob370bb18a561c34b08673d38ba081d4f7994d169d
1 // { dg-do assemble  }
2 template <class T, class U>    
3 int func(U, T);                 // { dg-error "" } ref below
5 template <class T, class U>    
6 int func(T, U)                  // { dg-error "" } ref below
8         return 2;
11 int main ()
13   func (0, 1);                  // { dg-error "" } ambiguous