aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/array-struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r--test/Analysis/array-struct.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c
index 911f41870d..ed8b0e5cf3 100644
--- a/test/Analysis/array-struct.c
+++ b/test/Analysis/array-struct.c
@@ -32,3 +32,8 @@ void f2() {
void f3() {
STYPE s;
}
+
+void f4() {
+ int a[] = { 1, 2, 3};
+ int b[3] = { 1, 2 };
+}