struct A { float t; }; void test(A t) { t.t = 5.0; } void main() { A a; a.t = 6.0; test(a.t); test(a); test(a.t); }