1 int f1(void)
   2 {
   3         if (1)
   4                 return 1;
   5 }
   6 
   7 int f0(void)
   8 {
   9         if (0)
  10                 return 0;
  11 }
  12 
  13 int fx(int p)
  14 {
  15         if (p)
  16                 return 0;
  17 }
  18 
  19 int bar(int p)
  20 {
  21         if (p)
  22                 return 0;
  23         p++;
  24 }
  25 
  26 /*
  27  * check-name: missing-return
  28  * check-command: test-linearize -m32 -fdump-ir=mem2reg -Wno-decl $file
  29  * check-known-to-fail
  30  *
  31  * check-output-ignore
  32  * check-output-pattern(1): ret.32 *\\$1
  33  * check-output-pattern(3): ret.32 *UNDEF
  34  */