1/* { dg-do compile } */
2// middle-end/31579
3// Expand was crashing while expanding the tree for the initializer
4
5struct Industry {
6 unsigned char produced_cargo[2];
7};
8unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile
9char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
10
11