Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr24439.C
blob: 74576b5f84ffbbfe0ebba7890859faa0ef9a0468 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* We used to ICE in invert_truthvalue on the void type
2nd argument of the COND_EXPR. */
void
foo
(
void
)
{
int
value
=
1
;
!(
value
?
true
:
throw
);
}