diff options
Diffstat (limited to 'clang/test/Analysis/stats.c')
| -rw-r--r-- | clang/test/Analysis/stats.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Analysis/stats.c b/clang/test/Analysis/stats.c new file mode 100644 index 00000000000..5701dc71f5f --- /dev/null +++ b/clang/test/Analysis/stats.c @@ -0,0 +1,9 @@ +// REQUIRES: asserts +// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats %s 2>&1 | FileCheck %s + +void foo() { + int x; +} +// CHECK: ... Statistics Collected ... +// CHECK:100 AnalysisConsumer - The % of reachable basic blocks. +// CHECK:The # of times RemoveDeadBindings is called |

