A slightly better testcase; this works when using the older compiler: void main() { asm {""~"" ; } enum E = ""~""; asm {""~E~"" ; } }