summaryrefslogtreecommitdiffstats
path: root/tests/ui/diverging-fn-tail-35849.rs
blob: f21ce2973e95a04c058205e5e10dbb872c290d36 (plain)
1
2
3
4
5
6
7
8
fn assert_sizeof() -> ! {
    unsafe {
        ::std::mem::transmute::<f64, [u8; 8]>(panic!())
            //~^ ERROR mismatched types
    }
}

fn main() { }