test.c: void f() { int t = (int)(sizeof(t)); } dmd test.c test.c(1): Error: undefined identifier `t`
This has already been fixed in master.