aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/anon4.C
blob: de0b40e2aec6e2ec16c9e69b37c30abdfb3d1625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PRMS Id: 5371
// Bug: g++ screws up the alignment of buff and dies.
// Build don't link:
// Special g++ Options: -O

main()
{
  union {
    double a;
    char buff[sizeof(double)];
  };

  void *p = buff;
}