]> granicus.if.org Git - clang/commitdiff
update test case.
authorZhongxing Xu <xuzhongxing@gmail.com>
Mon, 9 Nov 2009 13:56:44 +0000 (13:56 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Mon, 9 Nov 2009 13:56:44 +0000 (13:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86541 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/ptr-arith.c

index e53cc544268216e92e57e2ab25e2b171effc4d45..3659ef33658c3bc373753fc89e7a92a3636e93ee 100644 (file)
@@ -45,7 +45,7 @@ void f4() {
 void f5() {
   int x, y;
   int *p;
-  p = &x + 1;  // expected-warning{{Pointer arithmetic done on non array variables means reliance on memory layout, which is dangerous.}}
+  p = &x + 1;  // expected-warning{{Pointer arithmetic done on non-array variables means reliance on memory layout, which is dangerous.}}
 
   int a[10];
   p = a + 1; // no-warning