summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template18.C
blob: 280db5d3a368c6794fb7cd0f964327b49ea9552b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed templates
template<class T> class X;
typedef X<int> IX;

template<class T>
class X {
public:
  T x;
};

struct A {
  IX c;
};