https://issues.dlang.org/show_bug.cgi?id=17836
--- Comment #1 from elronnd at protonmail.ch ---
Potentially relevant: dmd just segfaults, but gdc actually prints a message:
test.d: In function ‘mmap’:
test.d:7:8: internal compiler error: in get_frame_for_symbol, at
d/d-codegen.cc:2208
     fun(item);
        ^
--