Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/pr24439.C

raw
1 /* { dg-do compile } */
2
3 /* We used to ICE in invert_truthvalue on the void type
4 2nd argument of the COND_EXPR. */
5
6 void foo(void)
7 {
8 int value=1;
9 !(value?true:throw);
10 }