OSDN Git Service

2009-07-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / torture / pr31579.C
1 /* { dg-do compile } */
2 // middle-end/31579
3 // Expand was crashing while expanding the tree for the initializer
4
5 struct Industry {
6  unsigned char produced_cargo[2];
7 };
8 unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile
9 char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
10