]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-use-i1-versus-i8.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[rust.git] / src / test / ui / type-use-i1-versus-i8.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 use std::ptr;
5
6 pub fn main() {
7     unsafe {
8         let mut x: bool = false;
9         // this line breaks it
10         ptr::write(&mut x, false);
11     }
12 }