summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memclass10.C
blob: 92bd3d383fe658d8d2eb5d06e693fca5497a4cdf (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

struct S1
{
  template <class T>
  struct S2 {}; // { dg-error "" } previous definition

  template <class T>
  struct S2 {}; // { dg-error "" } redefinition 
};