diff options
Diffstat (limited to 'clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp')
-rw-r--r-- | clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp b/clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp index 987ed6a31fa..4d84c8b614a 100644 --- a/clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp +++ b/clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp @@ -1,5 +1,14 @@ -// RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus.NewDelete,unix.MismatchedDeallocator -std=c++11 -verify %s -// RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.MismatchedDeallocator -DLEAKS -std=c++11 -verify %s +// RUN: %clang_analyze_cc1 -std=c++11 -verify %s \ +// RUN: -analyzer-checker=core \ +// RUN: -analyzer-checker=cplusplus.NewDelete \ +// RUN: -analyzer-checker=unix.MismatchedDeallocator +// +// RUN: %clang_analyze_cc1 -std=c++11 -verify %s \ +// RUN: -analyzer-checker=core \ +// RUN: -analyzer-checker=cplusplus.NewDelete \ +// RUN: -analyzer-checker=cplusplus.NewDeleteLeaks \ +// RUN: -analyzer-checker=unix.MismatchedDeallocator + // expected-no-diagnostics typedef __typeof(sizeof(int)) size_t; |