repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
name-clash1.C
blob
6ee4be350a5ac9d7ff9fd40ee3188cdd09468a13
1
// { dg-do compile }
2
3
// Origin: Jakub Jelinek <jakub@redhat.com>
4
// PR c++/5402
5
6
struct A
7
{
8
struct B {};
9
};
10
11
struct C
12
{
13
typedef int B;
14
};
15
16
struct D : A
17
{
18
struct E : C {};
19
struct B {};
20
};