Enhance test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93101 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/reference.cpp b/test/Analysis/reference.cpp
index 941147b..a641b8e 100644
--- a/test/Analysis/reference.cpp
+++ b/test/Analysis/reference.cpp
@@ -3,4 +3,9 @@
 void f1() {
   int const &i = 3;
   int b = i;
+
+  int *p = 0;
+
+  if (b != 3)
+    *p = 1; // no-warning
 }