comparison gcc/testsuite/g++.old-deja/g++.jason/anon4.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // { dg-do assemble }
2 // { dg-options "-O" }
3 // PRMS Id: 5371
4 // Bug: g++ screws up the alignment of buff and dies.
5
6 main()
7 {
8 union {
9 double a;
10 char buff[sizeof(double)];
11 };
12
13 void *p = buff;
14 }