OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp97.C
1 // Origin: Mark Mitchell <mark@codesourcery.com>
2
3 template <class T> struct A {
4   template <class U> int f(U) { return 1; }
5 };
6
7 template <>
8 template <class U>
9 int A<int>::f(U) { return 0; }
10
11 A<int> a;
12
13 int main ()
14 {
15   return a.f (3);
16 }