From 234a7d2bf50ba55496433f896577838407119e1a Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Mon, 27 Oct 2008 09:19:25 +0000 Subject: [PATCH] Add test for SCA region store. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58234 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/array-struct.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; +} -- 2.40.0