d: Fix ICE in get_frame_for_symbol
When generating code for a non-nested delegate literal, there is no context pointer required to pass to the function. 2019-03-09 Iain Buclaw <ibuclaw@gdcproject.org> gcc/d/ PR d/89041 * d-codegen.cc (get_frame_for_symbol): Delegate literals defined in global scope don't have a frame pointer. gcc/testsuite/ PR d/89041 * gdc.dg/pr89041.d: New test. From-SVN: r269533
Showing
gcc/testsuite/gdc.dg/pr89041.d
0 → 100644
Please
register
or
sign in
to comment