repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
error17.C
blob
18769ef6bc4dc40ea3c0414a3e2188d476a6ba83
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
};