objc-method-coverage.m revision 39cf781d62daaec09e443c6e66a01cd7543ffb41
1// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
2@interface I
3int f() {
4  return 0;
5}
6@end
7
8@implementation I
9+ (void *)ff{
10  return (void*)0;  
11}
12@end
13
14// CHECK: ... Statistics Collected ...
15// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
16// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.