☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22228.d
☽
☼
gcc/testsuite/gdc.test/compilable/test22228.d
code
plain
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;