OSDN Git Service

PR testsuite/25241
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp97.C
1 // { dg-do run  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 template <class T> struct A {
5   template <class U> int f(U) { return 1; }
6 };
7
8 template <>
9 template <class U>
10 int A<int>::f(U) { return 0; }
11
12 A<int> a;
13
14 int main ()
15 {
16   return a.f (3);
17 }