1 namespace O { 2 struct SO; 3 namespace I { 4 struct SI; 5 struct O::SO {}; // { dg-error "" } 6 } 7 struct I::SI {}; 8 } 9