xref: /aosp_15_r20/external/clang/test/Analysis/concrete-address.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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