From: Zhongxing Xu Date: Tue, 18 Nov 2008 13:30:46 +0000 (+0000) Subject: Add test cast for struct array. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=617ff31664d7aaaf391272da30d3ae65d0426df7;p=clang Add test cast for struct array. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59522 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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]; +}