Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
7c276b84d6881df18c847b036fe3c95d94d9b5b3
/
.
/
test
/
Analysis
/
concrete-address.c
blob: 84ebb21805a2e0aca0d8abc7ce72a07b1a3e35dd [
file
] [
log
] [
blame
]
// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic --verify %s &&
// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region --verify %s
void
foo
()
{
int
*
p
=
(
int
*)
0x10000
;
// Should not crash here.
*
p
=
3
;
}