mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
11 lines
191 B
D
11 lines
191 B
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;
|