Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/ice11944.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11944.d(12): Error: template instance `doCommand!(func)` does not match template declaration `doCommand(f, T)(f, T arg)`
5 ---
6 */
7
8 void func(int var) {}
9
10 void doCommand(f, T)(f, T arg) {}
11
12 auto var = &doCommand!func;