2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr21562.c
blob9b4932f8fb5a5530b6f84a2004e373b11fe47402
1 /* { dg-options "-fno-inline" } */
2 struct foo { int a, b, c; };
3 void abort(void);
4 void exit(int);
6 void
7 brother (int a, int b, int c)
9 if (a)
10 abort ();
13 void
14 sister (struct foo f, int b, int c)
16 brother ((f.b == b), b, c);
19 int
20 main ()
22 struct foo f = { 7, 8, 9 };
23 sister (f, 1, 2);
24 exit (0);