commit | 482e144b75d7233cd5f3e01f65e23fe3a295cccf | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Sun Nov 23 05:50:21 2008 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Sun Nov 23 05:50:21 2008 +0000 |
tree | 1582917080d4e536ee663f5a0fc63f85e3af1046 | |
parent | f4205df671164c74cc82cf7db0da3e7d8047b697 [diff] [blame] |
Improve test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59902 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 1045bdb..914d6e2 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c
@@ -62,7 +62,7 @@ void f8() { int a[10]; - a[sizeof(a) - 1] = 1; + a[sizeof(a)/sizeof(int) - 1] = 1; } void f9() {