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 foo(void)6 void foo(void) 7 { 8 int value=1; 9 !(value?true:throw); 10 } 11