diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-18 13:30:46 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-18 13:30:46 +0000 |
commit | 617ff31664d7aaaf391272da30d3ae65d0426df7 (patch) | |
tree | 20f19e8f1d0bd4963d7f365bcca8400c833d847f | |
parent | 9b6ceb17123f8eb842059cbcf9ecddd79c495e2e (diff) |
Add test cast for struct array.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59522 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/array-struct.c | 4 |
1 files changed, 4 insertions, 0 deletions
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]; +} |