diff options
Diffstat (limited to 'test/Analysis/diagnostics')
-rw-r--r-- | test/Analysis/diagnostics/diag-cross-file-boundaries.c | 12 | ||||
-rw-r--r-- | test/Analysis/diagnostics/diag-cross-file-boundaries.h | 4 |
2 files changed, 0 insertions, 16 deletions
diff --git a/test/Analysis/diagnostics/diag-cross-file-boundaries.c b/test/Analysis/diagnostics/diag-cross-file-boundaries.c deleted file mode 100644 index b975af3fb29f..000000000000 --- a/test/Analysis/diagnostics/diag-cross-file-boundaries.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s -// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=html -o PR12421.html %s 2>&1 | FileCheck %s - -// Test for PR12421 -#include "diag-cross-file-boundaries.h" - -int main(){ - f(); - return 0; -} - -// CHECK: warning: Path diagnostic report is not generated. diff --git a/test/Analysis/diagnostics/diag-cross-file-boundaries.h b/test/Analysis/diagnostics/diag-cross-file-boundaries.h deleted file mode 100644 index 1af7d1f1fbb4..000000000000 --- a/test/Analysis/diagnostics/diag-cross-file-boundaries.h +++ /dev/null @@ -1,4 +0,0 @@ -static void f() { - int *p = 0; - *p = 1; // expected-warning{{Dereference of null pointer}} -} |