xxxxxxxxxx
import std.stdio : writefln;
alias DelegateT = void delegate();
DelegateT foo() {
int a = 0;
int b = 0;
int c = 0;
void bar() {
a++;
}
writefln("addresses: %s %s %s", &a, &b, &c);
return &bar;
}
void main() {
auto bar1 = foo();
}