921e5a0eb4
From-SVN: r14840
24 lines
201 B
C
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);
|
|
}
|