aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memclass1.C
blob: 2a9a6f6c02ec9c6010f5f93272f338a5bb34bb0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
template <class T> struct A {
  template <class U> struct B {
    template <class V> void f (V) { }
    void g () { }
  };
};

main ()
{
  A<int>::B<char> b;
  b.f (42);
  b.g ();
}