Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond8.C
blob: 3e089537ff86048b27800df3fc2ff0f15f8e25e7 [
file
] [
log
] [
blame
]
// PR c++/22434
// { dg-options "" }
struct
A
{
A
(
void
*);
// { dg-message "initializing" }
~
A
();
};
void
foo
(
const
int
i
,
bool
b
)
{
b
?
A
(
0
)
:
i
;
// { dg-error "conversion" }
}