xref: /minix3/external/bsd/llvm/dist/clang/test/Analysis/concrete-address.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
2 // expected-no-diagnostics
3 
foo()4 void foo() {
5   int *p = (int*) 0x10000; // Should not crash here.
6   *p = 3;
7 }
8