let mut val: s32 = 0; export func set(v: s32) -> s32 { let old = val; val = v; return old; } export func get-inverse() -> s32 { return -val; }