xref: /minix3/external/bsd/llvm/dist/clang/test/Analysis/objc-method-coverage.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// REQUIRES: asserts
2// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
3@interface I
4int f() {
5  return 0;
6}
7@end
8
9@implementation I
10+ (void *)ff{
11  return (void*)0;
12}
13@end
14
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