diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-09 13:56:44 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-09 13:56:44 +0000 |
commit | e4da0eb77cc645ca73c9d070dc952997f0ee2c25 (patch) | |
tree | 34f1ac6881664df7386f220960a1de2e1ade0c4e /test | |
parent | ede7eb251778cd64e76cd09ea941b0f4064d38a1 (diff) |
update test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/ptr-arith.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |