commit | aeef06118e610dfab777fce43d6734c3bf385765 | [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 | fa45143d9b070b5e0e76031dbba1fca99ecd06ab [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 }; +}