mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
16 lines
360 B
C
16 lines
360 B
C
/* Origin: PR c/1540 from Mattias Lampe <lampe@tu-harburg.de>,
|
|
adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
|
GCC 2.95.2 fails, CVS GCC of 2001-01-13 passes. */
|
|
extern void abort (void);
|
|
extern void exit (int);
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
int array1[1] = { 1 };
|
|
int array2[2][1]= { { 1 }, { 0 } };
|
|
if (array1[0] != 1)
|
|
abort ();
|
|
exit (0);
|
|
}
|