]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/issue-100878.rs
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / test / ui / consts / const-eval / issue-100878.rs
1 // This checks that the const-eval ICE in issue #100878 does not recur.
2 //
3 // build-pass
4 pub fn bitshift_data(data: [u8; 1]) -> u8 {
5     data[0] << 8
6 }
7
8 fn main() {}