18 lines · plain
1// REQUIRES: asserts2// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s3@interface I4int f(void) {5 return 0;6}7@end8 9@implementation I10+ (void *)ff{11 return (void*)0; 12}13@end14 15// CHECK: ... Statistics Collected ...16// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).17// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.18