Source

gdc / gdc.test / fail_compilation / fail325.d

1
2
3
4
5
6
void fun(T=int)(int w, int z) {}

void main() {
    auto x = cast(void function(int, int))fun;
}