Add test case for pointer arithmetic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65907 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/ptr-arith.c b/test/Analysis/ptr-arith.c
new file mode 100644
index 0000000..a8d03eb
--- /dev/null
+++ b/test/Analysis/ptr-arith.c
@@ -0,0 +1,7 @@
+// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s
+
+void f1() {
+  int a[10];
+  int *p = a;
+  ++p;
+}