1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
3 #include "test-include-cpp.h"
5 int TestIncludeClass::test1(int *p
) {
7 return *p
; // expected-warning{{Dereference of null pointer}}
10 int TestIncludeClass::test2(int *p
) {
12 return *p
; // expected-warning{{Dereference of null pointer}}