https://issues.dlang.org/show_bug.cgi?id=23515

--- Comment #4 from Walter Bright <bugzi...@digitalmars.com> ---
Here's the generated code (renaming main() to test()):

_D5test16Easing9__lambda2MFNaNbNiNfZv:
0000:   C3                       ret    // the lambda

_D5test14testFZv:
0000:   55                       push      RBP
0001:   48 8B EC                 mov       RBP,RSP
0004:   B9 00 00 00 00           mov       ECX,0
0009:   31 C0                    xor       EAX,EAX
000b:   48 FF D0                 call      RAX
000e:   5D                       pop       RBP
000f:   C3                       ret

Calling null will definitely seg fault.

--

Reply via email to