diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-23 05:50:21 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-23 05:50:21 +0000 |
commit | ea06544bea29ba9def49ea061def1df9e100af25 (patch) | |
tree | 1582917080d4e536ee663f5a0fc63f85e3af1046 /test/Analysis/array-struct.c | |
parent | 63123d8e48d47920f20eb277550ff40a92493e21 (diff) |
Improve test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 1045bdb645..914d6e2e7b 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -62,7 +62,7 @@ void f7() { void f8() { int a[10]; - a[sizeof(a) - 1] = 1; + a[sizeof(a)/sizeof(int) - 1] = 1; } void f9() { |