d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test22228.d
blobef31b4badcae692f81a8a965549a6602d08ae581
1 // https://issues.dlang.org/show_bug.cgi?id=22228
2 // Note: fixed by reverting pull #11545
4 auto f()
5 { immutable int i;
6 auto p = (() => &i)();
8 return 0;
11 enum ctfeInvocation = f;