☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
anon4.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/anon4.C
code
plain
raw
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
int
7
main()
8
{
9
union {
10
double a;
11
char buff[sizeof(double)];
12
};
13
14
void *p = buff;
15
return 0;
16
}