2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / overload1.C
blob10b9f055c09e4d8befb483bdfbba736229167fe2
1 // { dg-do run  }
2 template <class T> struct B { };
4 template <class T> struct A {
5   template <class U, class V> int operator () (U u, V v);
6   template <class U, class V> void operator () (B<U> u, B<V> v) { }
7 };
9 int
10 main ()
12   A<int> a;
13   B<char> b1;
14   B<short> b2;
15   a (b1, b2);