commit | 19cad71552721efda5b09cda9f1a18d45ed0478a | [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 | 893d943468462c7cf62e146515cf6ad2ee2e8186 | |
parent | f87a7abcd4d3618325c9701a607fdbf3eaad18e6 [diff] [blame] |
Add test cast for struct array. llvm-svn: 59522
diff --git a/clang/test/Analysis/array-struct.c b/clang/test/Analysis/array-struct.c index 5f7331e..1045bdb 100644 --- a/clang/test/Analysis/array-struct.c +++ b/clang/test/Analysis/array-struct.c
@@ -64,3 +64,7 @@ int a[10]; a[sizeof(a) - 1] = 1; } + +void f9() { + struct s a[10]; +}