PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000722-1.c
blob0ce31917957ca2a072f1e1344476bda80c990a10
1 struct s { char *p; int t; };
3 extern void bar (void);
4 extern void foo (struct s *);
6 int main(void)
8 bar ();
9 bar ();
10 exit (0);
13 void
14 bar (void)
16 foo (& (struct s) { "hi", 1 });
19 void foo (struct s *p)
21 if (p->t != 1)
22 abort();
23 p->t = 2;