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