summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash21.C
blob: 283f6b4d583f049563a5600b23cd61e51b33c1a5 (plain)
1
2
3
4
5
6
7
namespace N
{
  struct A; // { dg-error "previous declaration" "" }
}

template<int I>
struct N::A {}; // { dg-error "redeclared" "" }