Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22228.d
blob: ef31b4badcae692f81a8a965549a6602d08ae581 [
file
] [
log
] [
blame
]
// 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
;