From df2aa1efbb940aa7bf5ef49235e1d7aff0d52128 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Fri, 31 Oct 2008 10:23:14 +0000 Subject: [PATCH] Add test code for array initialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58502 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/array-struct.c | 5 +++++ 1 file changed, 5 insertions(+) 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 }; +} -- 2.50.1