blob: 55a7b79157a829cc98368dabb12693d79961c57f [file] [log] [blame]
// Test that we can use a ! for an argument of type !
// check-pass
#![allow(unreachable_code)]
fn foo(x: !) -> ! {
x
}
fn main() {
foo(panic!("wowzers!"))
}