aggr139
auto aggr139 =
q{--- aggr139
// passing address of member var
struct Struct {
u64 var2;
u64 var;
u64 fun() {
external(&var);
return var;
}
}
u64 run() {
Struct s;
return s.fun();
}
@extern(module, "host")
void external(u64*);
};
tests aggregates
functionsvariables