summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ttp42.C
blob: 53bdae1e9b8bc9ad75a7565b8d7ed530fb29109f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do run  }
template <class T, template <class T> class C>
struct X
{};

template <class T>
struct Y
{};

template <class T>
struct Z
{};

template <class T>
struct X<T,Y>
{};

int main()
{
  X<int,Y> a;
  X<int,Z> b;
}