4 // Test that we can infer the type of binary operands when
5 // references are involved, on various types and operators.
11 let _: f32 = 0.0 + 0.0;
12 let _: f32 = 0.0 + &0.0;
13 let _: f32 = &0.0 + 0.0;
14 let _: f32 = &0.0 + &0.0;
21 // Test type inference when variable types are indirectly inferred.
23 let _: usize = a + &44;
25 // When we have no expected type, the types of the operands is the default type.