Author: zhongxingxu
Date: Sat Jan  9 20:52:56 2010
New Revision: 93101

URL: http://llvm.org/viewvc/llvm-project?rev=93101&view=rev
Log:
Enhance test case.

Modified:
    cfe/trunk/test/Analysis/reference.cpp

Modified: cfe/trunk/test/Analysis/reference.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/reference.cpp?rev=93101&r1=93100&r2=93101&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/reference.cpp (original)
+++ cfe/trunk/test/Analysis/reference.cpp Sat Jan  9 20:52:56 2010
@@ -3,4 +3,9 @@
 void f1() {
   int const &i = 3;
   int b = i;
+
+  int *p = 0;
+
+  if (b != 3)
+    *p = 1; // no-warning
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to