kill-insert-branch.c 253 B

1234567891011121314151617181920212223
  1. void foo(int a)
  2. {
  3. int b = 1;
  4. if (a)
  5. b++;
  6. if (b)
  7. ;
  8. }
  9. void bar(int a)
  10. {
  11. if (a ? 1 : 2)
  12. ;
  13. }
  14. /*
  15. * check-name: kill insert-branch
  16. * check-command: test-linearize -Wno-decl $file
  17. *
  18. * check-output-ignore
  19. * check-output-excludes: select\\.
  20. */