1 /* PR middle-end/26632 2 We used to issue a warning for an implicit cast whose result is not 3 used. */ 4 /* { dg-do compile } */ 5 /* { dg-options "-Wall" } */ 6 7 int g (void); 8 long h (void); 9 10 void f(void)11f (void) 12 { 13 0 ? h () : g (); /* { dg-bogus "value computed is not used" } */ 14 } 15