summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-use-i1-versus-i8.rs
blob: 7315cd2feeaa60a46de50ddcceede30c827f65cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// pretty-expanded FIXME #23616

use std::ptr;

pub fn main() {
    unsafe {
        let mut x: bool = false;
        // this line breaks it
        ptr::write(&mut x, false);
    }
}