blob: 3088a29a06494b57aa61c8f4cbb3d33b6aa42197 [file] [log] [blame]
Jordan Roseee049592012-08-21 21:44:07 +00001// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
Anna Zaks6a860822012-04-12 22:36:48 +00002// 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 analysed (as top level).