Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/testsuite/libgloss.all/array.c')
-rw-r--r--libgloss/testsuite/libgloss.all/array.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libgloss/testsuite/libgloss.all/array.c b/libgloss/testsuite/libgloss.all/array.c
new file mode 100644
index 000000000..14b6fdb29
--- /dev/null
+++ b/libgloss/testsuite/libgloss.all/array.c
@@ -0,0 +1,18 @@
+/* WinBond bug report
+
+ this is a compile test. At one time static arrays over 500 elements
+ didn't work. We'll test both global and local array. If it compiles at
+ all, it it passes.
+ */
+
+#include <stdio.h>
+static short aa[64][64];
+static int bb[500];
+
+main()
+{
+ static short cc[64][64];
+ static int dd[500];
+ pass ("large arrays");
+ fflush(stdout);
+}