//! returns: 0 /// Test compound assignment on record fields. record Point { x: i32, y: i32, } @default fn main() -> i32 { let mut p = Point { x: 10, y: 20 }; p.x += 5; assert p.x == 15; p.y -= 3; assert p.y == 17; p.x *= 2; assert p.x == 30; return 0; }