Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test22228.d

raw
1 // https://issues.dlang.org/show_bug.cgi?id=22228
2 // Note: fixed by reverting pull #11545
3
4 auto f()
5 { immutable int i;
6 auto p = (() => &i)();
7
8 return 0;
9 }
10
11 enum ctfeInvocation = f;