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
/
expr
/
cond8.C
blob
f05c81a26ce7bb30e2a7422e9a09d1b615eb56bc
1
// PR c++/22434
2
// { dg-options "" }
3
4
struct A
5
{
6
A(void*);
7
~A();
8
};
9
10
void foo(const int i, bool b)
11
{
12
b ? A(0) : i; // { dg-error "conversion|initializing" }
13
}