(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr26632.c
       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
      11  f (void)
      12  {
      13    0 ? h () : g (); /* { dg-bogus "value computed is not used" } */
      14  }