Sign in
pigweed
/
third_party
/
github
/
bazelembedded
/
rules_cc_toolchain
/
e1c57be4bf30b8d3fa718f56f7882156ba1f4d9c
/
.
/
tests
/
dereferencing_null_pointer.cc
blob: 59328a491f668d85f71688f39e4152c0167388f3 [
file
] [
log
] [
blame
]
#include
<iostream>
int
main
()
{
int
*
p
=
nullptr
;
// This is an intentional bug, to test static analysis.
std
::
cout
<<
*
p
<<
std
::
endl
;
return
1
;
}