Sign in
pigweed
/
third_party
/
github
/
bazelembedded
/
rules_cc_toolchain
/
9f209fda87414285bc66accd3612575b29760fba
/
.
/
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
;
}