OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20001203-1.c
1 /* Origin: PR c/410 from Jan Echternach
2    <jan.echternach@informatik.uni-rostock.de>,
3    adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
4 */
5
6 extern void exit (int);
7
8 static void
9 foo (void)
10 {
11   struct {
12     long a;
13     char b[1];
14   } x = { 2, { 0 } };
15 }
16
17 int
18 main (void)
19 {
20   int tmp;
21   foo ();
22   tmp = 1;
23   exit (0);
24 }