OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [testsuite/] [libgloss.all/] [array.c] - Diff between revs 158 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 158 Rev 816
/* WinBond bug report
/* WinBond bug report
 
 
   this is a compile test. At one time static arrays over 500 elements
   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
   didn't work. We'll test both global and local array. If it compiles at
   all, it it passes.
   all, it it passes.
 */
 */
 
 
#include <stdio.h>
#include <stdio.h>
static short aa[64][64];
static short aa[64][64];
static int bb[500];
static int bb[500];
 
 
main()
main()
{
{
  static short cc[64][64];
  static short cc[64][64];
  static int dd[500];
  static int dd[500];
  pass ("large arrays");
  pass ("large arrays");
  fflush(stdout);
  fflush(stdout);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.