summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/namespace7.C
blob: c8ac608823f13f2dde48c2134bf0104c7b9c1649 (plain)
1
2
3
4
5
6
7
8
namespace O {
  struct SO;
  namespace I {
    struct SI;
    struct O::SO {}; // { dg-error "" }
  }
  struct I::SI {};
}