test235
auto test235 =
q{--- test235
/// Address of this parameter is taken, which forces it to be allocated on the stack
/// Then member assignment doesn't load the stored pointer
/// lowerToMember missed `memberNode.flags |= MemberExprFlags.needsDeref;` line
/// Without it no deref node was generated
struct S {
bool b;
void method() {
b = false;
receive(&this);
}
}
void receive(S**){}
};
tests passing
functionsvariables