diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-31 10:23:14 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-31 10:23:14 +0000 |
commit | df2aa1efbb940aa7bf5ef49235e1d7aff0d52128 (patch) | |
tree | 92498672378d28d69209725242e34b7c97317491 /test/Analysis/array-struct.c | |
parent | 31fc07df7f0fc89ebf83ca05a20b29de45a7598d (diff) |
Add test code for array initialization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 911f41870d..ed8b0e5cf3 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -32,3 +32,8 @@ void f2() { void f3() { STYPE s; } + +void f4() { + int a[] = { 1, 2, 3}; + int b[3] = { 1, 2 }; +} |