Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / g++.old-deja / g++.pt / memtemp97.C
blobe00c3bb28747a3b07630f026fce40bfd5420e690
1 // { dg-do run  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T> struct A {
5   template <class U> int f(U) { return 1; }
6 };
8 template <>
9 template <class U>
10 int A<int>::f(U) { return 0; }
12 A<int> a;
14 int main ()
16   return a.f (3);