diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-27 09:19:25 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-27 09:19:25 +0000 |
commit | 234a7d2bf50ba55496433f896577838407119e1a (patch) | |
tree | 2a96ca5166513da28b7f38da074d983b43de9276 /test/Analysis/array-struct.c | |
parent | d03eea038271ab3a3be73e11c8fd7852effcf7f7 (diff) |
Add test for SCA region store.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 4b23421a3d..911f41870d 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -6,6 +6,10 @@ struct s { int data_array[10]; }; +typedef struct { + int data; +} STYPE; + void f(void) { int a[10]; int (*p)[10]; @@ -24,3 +28,7 @@ void f2() { char (*q)[4]; q = &"abc"; } + +void f3() { + STYPE s; +} |