blob: 5a7e031cbfec54671a604cbb4b93d52419ce54ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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);
}
|