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