1RUN: rm -rf %t.output_dir && mkdir %t.output_dir 2RUN: %scan-build -o %t.output_dir \ 3RUN: %clang -S %S/Inputs/null_dereference_and_division_by_zero.c \ 4RUN: | FileCheck %s -check-prefix CHECK-TWO-BUGS 5 6RUN: rm -rf %t.output_dir && mkdir %t.output_dir 7RUN: %scan-build -o %t.output_dir \ 8RUN: -disable-checker core.DivideZero \ 9RUN: %clang -S %S/Inputs/null_dereference_and_division_by_zero.c \ 10RUN: | FileCheck %s -check-prefix CHECK-ONE-BUG 11 12RUN: rm -rf %t.output_dir && mkdir %t.output_dir 13RUN: %scan-build -o %t.output_dir \ 14RUN: -disable-checker core.NullDereference \ 15RUN: %clang -S %S/Inputs/null_dereference_and_division_by_zero.c \ 16RUN: | FileCheck %s -check-prefix CHECK-ONE-BUG 17 18RUN: rm -rf %t.output_dir && mkdir %t.output_dir 19RUN: %scan-build -o %t.output_dir \ 20RUN: -disable-checker core.NullDereference \ 21RUN: -disable-checker core.DivideZero \ 22RUN: %clang -S %S/Inputs/null_dereference_and_division_by_zero.c \ 23RUN: | FileCheck %s -check-prefix CHECK-NO-BUGS 24 25CHECK-NO-BUGS: scan-build: No bugs found. 26CHECK-ONE-BUG: scan-build: 1 bug found. 27CHECK-TWO-BUGS: scan-build: 2 bugs found. 28