The error occurs in both 2.064.2 and git master 2b521dde09ca7e09fa71e373a7d13cdddc06dd2d. Tested on Linux, x86_64.
The full message is:
dmd: expression.c:9330: virtual Expression* AddrExp::semantic(Scope*): Assertion `f' failed.
The following code causes the assertion failure:
void aFunc(int var)
{
}
void do_command(func, T)(func, T arg)
{
}
auto var = &do_command!aFunc;