blob: 9b0326bf9368aaaccb6e1a3d71e6c9e3b829d6a0 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/ice11944.d(12): Error: template instance `doCommand!(func)` does not match template declaration `doCommand(f, T)(f, T arg)`
---
*/
void func(int var) {}
void doCommand(f, T)(f, T arg) {}
auto var = &doCommand!func;