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
/
inherit
/
cond1.C
blob
843c72ca308c85886cde8326c37a9e95e36c66f1
1
// Origin: jason@redhat.com
2
// { dg-do compile }
3
4
struct A { A(); A(const A&); int i; };
5
struct B: public A { };
6
7
int f (bool b, A& ar, B& br)
8
{
9
return (b?ar:br).i;
10
}