Open
Description
This test passes on s390x-unknown-linux-gnu
and sparc64-unknown-linux-gnu
(it does not panic):
#[test]
pub fn scalar_test() {
let z = 0_i128;
let o = 1_i128;
if o >> z != o {
panic!();
}
}
The same applies to vectors containing i128
like i128x1
and i128x2
.
Reported upstream: rust-lang/rust#52015