aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template12.C
blob: 93c19b63571b35a33f6edb8733c2767e7cc3b970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Testcase for 'this is a type' syntax.
// Build don't link:

struct B {
  typedef int A;
};

template <class T> struct Y {
  void f() {
    typename T::A *d;
  }
};

template class Y<B>;