struct A { int t; }; void test(A t) { t.t = true; } void main() { A a; a.t = false; test(a.t); test(a); test(a.t); }