From: Zhongxing Xu Date: Mon, 9 Nov 2009 13:56:44 +0000 (+0000) Subject: update test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4da0eb77cc645ca73c9d070dc952997f0ee2c25;p=clang update test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86541 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/ptr-arith.c b/test/Analysis/ptr-arith.c index e53cc54426..3659ef3365 100644 --- a/test/Analysis/ptr-arith.c +++ b/test/Analysis/ptr-arith.c @@ -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