blob: aa7ee9ef7ab175cb11a4b2ce3394b1e5aa3dbde4 [file] [log] [blame]
// Test that a variable of type ! can coerce to another type.
//@ check-pass
#![feature(never_type)]
fn main() {
let x: ! = panic!();
let y: u32 = x;
}