Source

gdc / gdc.test / fail_compilation / fail289.d

Full commit
Daniel Green b6fdbee 




1
2
3
4
5
6
alias void delegate() dg;
void fun(){}
void gun(){

  dg d=cast(void delegate())&fun;
}