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

24 lines
201 B
C

typedef struct
{
char x;
} T;
T
f (s1)
T s1;
{
T s1a;
s1a.x = s1.x;
return s1a;
}
main ()
{
T s1a, s1b;
s1a.x = 100;
s1b = f (s1a);
if (s1b.x != 100)
abort ();
exit (0);
}