diff options
Diffstat (limited to 'test/Tooling/clang-check-analyzer.cpp')
-rw-r--r-- | test/Tooling/clang-check-analyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tooling/clang-check-analyzer.cpp b/test/Tooling/clang-check-analyzer.cpp index 16cf7ce..ee0a6dc 100644 --- a/test/Tooling/clang-check-analyzer.cpp +++ b/test/Tooling/clang-check-analyzer.cpp @@ -1,4 +1,4 @@ // RUN: clang-check -analyze "%s" -- -c 2>&1 | FileCheck %s // CHECK: Dereference of null pointer -int a(int *x) { if(x){} *x = 47; } +void a(int *x) { if(x){} *x = 47; } |