https://issues.dlang.org/show_bug.cgi?id=17188 --- Comment #3 from Rainer Schuetze <r.sagitario at gmx.de> --- The overload with a non-scope callback should also not pretend to not escape the base pointer: void qsort(void* base, size_t nmemb, size_t size, _compare_fp_t compar); --