Debian Codegraph @

gcc/testsuite/g++.dg/other/error17.C

raw
1 // PR c++/32870
2
3 struct Foo {
4 struct Bar;
5 };
6
7 namespace N {
8 struct Foo::Bar { }; // { dg-error "in namespace 'N'" }
9 }
10
11 struct Baz {
12 struct Foo::Bar { }; // { dg-error "in 'struct Baz'" }
13 };