8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/921117-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

23 lines
263 B
C

struct s {
char text[11];
int flag;
} cell;
int
check (struct s p)
{
if (p.flag != 99)
return 1;
return strcmp (p.text, "0123456789");
}
main ()
{
cell.flag = 99;
strcpy (cell.text, "0123456789");
if (check (cell))
abort();
exit (0);
}