/*
 TCC crashes compiling this file
 Affected versions:
 0.9.24 from http://bellard.org/tcc/
 version from "Thu, 20 Nov 2008 21:52:35" from
http://repo.or.cz/w/tinycc/daniel.git

 Tested on Windows 2000
*/
#define NULL 0
typedef struct S S;
struct S
{
 char c[2];
 char *str;
};

enum {
 UNO = 1
};
S s1[8]=
{
 0,0, "xxxxxxxxxxxx",
 0,0, "xxxxxxxxxxxx",
 0,0, "xxxxxxxxxxxx",
 0,0, "xxxxxxxxxxxx",
 0,0, "xxxxxxxxxxxx",
 0,0, NULL,
 0,0, "xxxxxxxxxxxx",
};

S s2[8]=
{
 UNO,0, "xxxxxxxxxxxx",
 UNO,0, "xxxxxxxxxxxx",
 UNO,0, "xxxxxxxxxxxx",
 UNO,0, "xxxxxxxxxxxx",
};
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to