aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-11-09 13:56:44 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-11-09 13:56:44 +0000
commite4da0eb77cc645ca73c9d070dc952997f0ee2c25 (patch)
tree34f1ac6881664df7386f220960a1de2e1ade0c4e /test
parentede7eb251778cd64e76cd09ea941b0f4064d38a1 (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.c2
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