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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
cond2.C
blob
d31de33e2750c91aca8c202a75d8a827e2442bb2
1
// PR c++/10245
2
3
struct X {};
4
5
struct Y {
6
Y ();
7
operator X () const;
8
private:
9
Y (const Y &);
10
};
11
12
Y y;
13
void foo() {
14
X x = (1 ? Y() : Y());
15
}