f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
4 lines
134 B
C++
4 lines
134 B
C++
// RUN: clang-check -analyze "%s" -- -c 2>&1 | FileCheck %s
|
|
|
|
// CHECK: Dereference of null pointer
|
|
int a(int *x) { if(x){} *x = 47; }
|