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
/
init
/
ref10.C
blob
73fd6de92dc08276dfe6d631d189e5d9ffa56396
1
// PR c++/13478
2
3
struct A {};
4
struct B : protected A {
5
B() {};
6
B(const A& ) {};
7
private:
8
B(const B& ) {};
9
};
10
11
void foo(const A* ap)
12
{
13
const B& br = *ap;
14
}