☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
error17.C
☽
☼
gcc/testsuite/g++.dg/other/error17.C
code
plain
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
};