(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test22228.d
// https://issues.dlang.org/show_bug.cgi?id=22228
// Note: fixed by reverting pull #11545

auto f()
{   immutable int i;
    auto p = (() => &i)();

    return 0;
}

enum ctfeInvocation = f;