(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
fail_compilation/
fail35.d
/*
TEST_OUTPUT:
---
fail_compilation/fail35.d(15): Error: variable `t` cannot be read at compile time
---
*/

// https://www.digitalmars.com/d/archives/digitalmars/D/bugs/2372.html
// allegedly crashes, but cannot reproduce

void main()
{
    for (int t = 0; t < 33; t++)
    {
        size_t n = (bool[t]).sizeof;
    }
}