https://issues.dlang.org/show_bug.cgi?id=19002
Seb <greensunn...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunn...@gmail.com --- Comment #1 from Seb <greensunn...@gmail.com> --- This is expected as all string literals should be zero-terminated D strings. So the following works as expected: ``` void main() { import core.stdc.stdio; printf(__FUNCTION__.ptr); } ``` The interesting bit is why __FILE__ and __MODULE__ can be passed directly to printf. --