commit | 617ff31664d7aaaf391272da30d3ae65d0426df7 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Tue Nov 18 13:30:46 2008 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Tue Nov 18 13:30:46 2008 +0000 |
tree | 20f19e8f1d0bd4963d7f365bcca8400c833d847f | |
parent | 9b6ceb17123f8eb842059cbcf9ecddd79c495e2e [diff] [blame] |
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 5f7331e..1045bdb 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c
@@ -64,3 +64,7 @@ int a[10]; a[sizeof(a) - 1] = 1; } + +void f9() { + struct s a[10]; +}