2022-09-23 05:09:16 -05:00
|
|
|
// This checks that the const-eval ICE in issue #100878 does not recur.
|
|
|
|
//
|
2024-02-16 14:02:50 -06:00
|
|
|
//@ build-pass
|
2023-04-09 04:42:57 -05:00
|
|
|
|
|
|
|
#[allow(arithmetic_overflow)]
|
2022-09-23 05:09:16 -05:00
|
|
|
pub fn bitshift_data(data: [u8; 1]) -> u8 {
|
|
|
|
data[0] << 8
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|