[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / test-include-cpp.cpp
blob6998e3ccd669f3e56d3252049662fee2af2c3bc5
1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
3 #include "test-include-cpp.h"
5 int TestIncludeClass::test1(int *p) {
6 p = 0;
7 return *p; // expected-warning{{Dereference of null pointer}}
10 int TestIncludeClass::test2(int *p) {
11 p = 0;
12 return *p; // expected-warning{{Dereference of null pointer}}