D-Programming-Language/dmd — pull request #1130 by donc (2012-09-20 07:51:34+00:00)
Title: 8608 ICE(interpret.c): CTFE using runtime variable as ref param

The case where the variable is not global, and yet not a CTFE local variable, can happen in nested functions and similar things like copy constructor calls. There's an existing check for variables accessed by value but the byref case was missed.