brintos

brintos / llvm-project-archived public Read only

0
0
Text · 341 B · c284a94 Raw
10 lines · cpp
1// RUN: %clang_analyze_cc1 -isystem %S/Inputs/ -verify %s \2// RUN:   -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete3 4// RUN: %clang_analyze_cc1 -I %S/Inputs/ -verify %s \5// RUN:   -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete6 7#include "overloaded-delete-in-header.h"8 9void deleteInHeader(DeleteInHeader *p) { delete p; }10