re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr24439.C
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 }