[cfe-commits] r62845 - /cfe/trunk/test/Analysis/array-struct.c
Zhongxing Xu
xuzhongxing at gmail.com
Fri Jan 23 02:23:18 PST 2009
Author: zhongxingxu
Date: Fri Jan 23 04:23:13 2009
New Revision: 62845
URL: http://llvm.org/viewvc/llvm-project?rev=62845&view=rev
Log:
Add a test case for init expr of array and struct type.
Modified:
cfe/trunk/test/Analysis/array-struct.c
Modified: cfe/trunk/test/Analysis/array-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/array-struct.c?rev=62845&r1=62844&r2=62845&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/array-struct.c (original)
+++ cfe/trunk/test/Analysis/array-struct.c Fri Jan 23 04:23:13 2009
@@ -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.
More information about the cfe-commits
mailing list