blob: 7c24e1b4d57653db8f5088c9462b37cfe900f5b0 [file] [log] [blame] [edit]
pub fn test(y: &i32) {
let x;
x = ()
*y
//~^ ERROR cannot multiply `()` by `&i32`
}
fn main() {}