1struct s { char *p; int t; };
2
3extern void bar (void);
4extern void foo (struct s *);
5
6int main(void)
7{
8  bar ();
9  bar ();
10  exit (0);
11}
12
13void
14bar (void)
15{
16  foo (& (struct s) { "hi", 1 });
17}
18
19void foo (struct s *p)
20{
21  if (p->t != 1)
22    abort();
23  p->t = 2;
24}
25