summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/class2.C
blob: 4144997fe160d2502f032fd22231516a756ccf31 (plain)
1
2
3
4
5
6
7
// PR c++/13451

template <class T>
struct A {
  struct B;
  struct A::B { }; // { dg-error "" }
};