1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail35.d(15): Error: variable t cannot be read at compile time
5 ---
6 */
7 
8 // http://www.digitalmars.com/d/archives/digitalmars/D/bugs/2372.html
9 // allegedly crashes, but cannot reproduce
10 
main()11 void main()
12 {
13     for (int t = 0; t < 33; t++)
14     {
15         size_t n = (bool[t]).sizeof;
16     }
17 }
18