1 // Test that we can do shifts by any integral type.
19 22 >> x; // ambiguity error winds up being suppressed
22 // Integer literal types are OK
24 // Type of the result follows the LHS, not the RHS:
25 let _: i32 = 22_i64 >> 1_i32;
26 //~^ ERROR mismatched types
27 //~| expected `i32`, found `i64`