From b61f49cb3cd6ec8c9b17b48173370b3ce16f79b0 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Fri, 23 Jan 2009 10:23:13 +0000 Subject: [PATCH] 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 --- test/Analysis/array-struct.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 4257220f9b..326c2888a0 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -44,6 +44,7 @@ void f3() { void f4() { int a[] = { 1, 2, 3}; int b[3] = { 1, 2 }; + struct s c[] = {{1,{1}}}; } // Struct variable in lvalue context. -- 2.40.0