(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
predict-14.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
       3  
       4  void test(void) __attribute__ ((noreturn));
       5  
       6  int main(int argc, char **argv)
       7  {
       8    switch (argc)
       9      {
      10      case 1:
      11        test();
      12      case 4:
      13        test();
      14      default:
      15        test();
      16      }
      17  
      18    return 10;
      19  }
      20  
      21  /* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */