commit | b61f49cb3cd6ec8c9b17b48173370b3ce16f79b0 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Fri Jan 23 10:23:13 2009 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Fri Jan 23 10:23:13 2009 +0000 |
tree | b9260252243420fc218b800bade362ce7febad17 | |
parent | c496f14291b6577cf9bb1737efae01cce71182e2 [diff] [blame] |
Add a test case for init expr of array and struct type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62845 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 4257220..326c288 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c
@@ -44,6 +44,7 @@ void f4() { int a[] = { 1, 2, 3}; int b[3] = { 1, 2 }; + struct s c[] = {{1,{1}}}; } // Struct variable in lvalue context.