Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / anon4.C
blob47b87790119643c0226e3eecd9cb221691bb10bd
1 // { dg-do assemble  }
2 // { dg-options "-O" }
3 // PRMS Id: 5371
4 // Bug: g++ screws up the alignment of buff and dies.
6 int
7 main()
9   union {
10     double a;
11     char buff[sizeof(double)];
12   };
14   void *p = buff;
15   return 0;