[cfe-commits] r58234 - /cfe/trunk/test/Analysis/array-struct.c
Zhongxing Xu
xuzhongxing at gmail.com
Mon Oct 27 02:19:27 PDT 2008
Author: zhongxingxu
Date: Mon Oct 27 04:19:25 2008
New Revision: 58234
URL: http://llvm.org/viewvc/llvm-project?rev=58234&view=rev
Log:
Add test for SCA region store.
Modified:
cfe/trunk/test/Analysis/array-struct.c
Modified: cfe/trunk/test/Analysis/array-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/array-struct.c?rev=58234&r1=58233&r2=58234&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/array-struct.c (original)
+++ cfe/trunk/test/Analysis/array-struct.c Mon Oct 27 04:19:25 2008
@@ -6,6 +6,10 @@
int data_array[10];
};
+typedef struct {
+ int data;
+} STYPE;
+
void f(void) {
int a[10];
int (*p)[10];
@@ -24,3 +28,7 @@
char (*q)[4];
q = &"abc";
}
+
+void f3() {
+ STYPE s;
+}
More information about the cfe-commits
mailing list