commit | df2aa1efbb940aa7bf5ef49235e1d7aff0d52128 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Fri Oct 31 10:23:14 2008 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Fri Oct 31 10:23:14 2008 +0000 |
tree | 92498672378d28d69209725242e34b7c97317491 | |
parent | 31fc07df7f0fc89ebf83ca05a20b29de45a7598d [diff] [blame] |
Add test code for array initialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58502 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 911f418..ed8b0e5 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c
@@ -32,3 +32,8 @@ void f3() { STYPE s; } + +void f4() { + int a[] = { 1, 2, 3}; + int b[3] = { 1, 2 }; +}