ptr-arith.c revision 2b1dc179197955bfa79583b13bedb1dc8bcdf25d
1// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s
2
3void f1() {
4  int a[10];
5  int *p = a;
6  ++p;
7}
8
9char* foo();
10
11void f2() {
12  char *p = foo();
13  ++p;
14}
15