aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/concrete-address.c
blob: 819afca967c90ece2a5b8e52f3d581351588a414 (plain)
1
2
3
4
5
6
7
// 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;
}