From 617ff31664d7aaaf391272da30d3ae65d0426df7 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Tue, 18 Nov 2008 13:30:46 +0000 Subject: [PATCH] Add test cast for struct array. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59522 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/array-struct.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 5f7331efa2..1045bdb645 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -64,3 +64,7 @@ void f8() { int a[10]; a[sizeof(a) - 1] = 1; } + +void f9() { + struct s a[10]; +} -- 2.40.0