summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp63.C
blob: 62a52a16dc875084b5e842b5e97ad501c5f00867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do run  }
template <class T> struct A {
  template <class U> void f (U u);
};

A<int> a;

template <class T> template <class U> void A<T>::f (U u) { }

int main()
{
  a.f (24);
}