summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/lookup8.C
blob: 1662f68c7b654d18c2f6da3c38438f68bdbf6b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T>
class X{};

class Y : public X<int>
{
  void f();
};

void Y::f()
{
  X x;
}