1 // RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=plist -Wno-error=implicit-int -Wno-error=return-type -o %t > /dev/null 2>&1 2 // RUN: %normalize_plist <%t | diff -ub %S/Inputs/expected-plists/inline-unique-reports.c.plist - 3 4 static inline bug(int *p) { 5 *p = 0xDEADBEEF; 6 } 7 8 void test_bug_1(void) { 9 int *p = 0; 10 bug(p); 11 } 12 13 void test_bug_2(void) { 14 int *p = 0; 15 bug(p); 16 } 17 18 19