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

template <int I>
struct S {
  struct T* x;
};

template struct S<2>;

T* t;