https://issues.dlang.org/show_bug.cgi?id=23978
--- Comment #16 from Dennis <dkor...@live.nl> --- I changed it back to something more generic. My initial diagnosis was wrong indeed, but it still seems to be related to the `Mem.xrealloc` call in dmd.escape.checkMutableArguments, since changing that makes the test case pass. --