20 lines · plain
1@interface I2- (int)func;3@end4 5@implementation I6- (int)func:(int *)param {7 return *param;8}9@end10 11void foo(I *i) {12 int *x = 0;13 [i func:x];14}15 16// RUN: rm -rf %t.output17// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output html -o %t.output -Wno-objc-root-class %s18// RUN: cat %t.output/* | FileCheck %s19// CHECK: var relevant_lines = {"1": {"6": 1, "7": 1, "11": 1, "12": 1, "13": 1}};20