Sign in
llvm
/
llvm-archive
/
9ee4ded126524dc671b998a7c57f4d2433ee9d20
/
.
/
safecode
/
tools
/
clang
/
test
/
Analysis
/
concrete-address.c
blob: 819afca967c90ece2a5b8e52f3d581351588a414 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics
void
foo
()
{
int
*
p
=
(
int
*)
0x10000
;
// Should not crash here.
*
p
=
3
;
}