summaryrefslogtreecommitdiffstats
path: root/libgloss/testsuite/libgloss.all/array.c
diff options
context:
space:
mode:
authorRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
committerRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
commit03261851a10dd2d6900a0a00a7515a0a46fb5d76 (patch)
tree7c22ac6cbbc99fd5cd1b5426853be8d4fd7bfcf1 /libgloss/testsuite/libgloss.all/array.c
parentfae4c299f14fc23e2829c8656992eba21f79242a (diff)
downloadcygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz
cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2
cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip
20000317 sourceware import
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);
+}