llvm/clang/test/Analysis/stats.c

// REQUIRES: asserts
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-stats %s 2>&1 | FileCheck %s

void foo(void) {
  int x;
}
// CHECK: ... Statistics Collected ...
// CHECK:100 AnalysisConsumer - The % of reachable basic blocks.
// CHECK:The # of times RemoveDeadBindings is called