projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/22434 (ICE in simplify_{,gen_}subreg)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond8.C
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
}