summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp')
-rw-r--r--clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp b/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
index b5e47b3355d..e5176eb50ff 100644
--- a/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
+++ b/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
@@ -46,7 +46,7 @@ void testMismatchedDeallocator() {
void testNewDoubleFree() {
int *p = new int;
delete p;
- delete p; // expected-warning{{Attempt to free released memory}}
+ delete p; // expected-warning{{Attempt to delete released memory}}
}
void testNewLeak() {
OpenPOWER on IntegriCloud