blob: 31802d038019796cc0882e29a61183f395c840ed (
plain)
1
2
3
4
5
6
7
|
// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic --verify %s
// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region --verify %s
void foo() {
int *p = (int*) 0x10000; // Should not crash here.
*p = 3;
}
|