blob: 4e8d7e92ab6b0f6bc502e5db60978fbf1f5ced11 [file] [log] [blame]
//@ run-fail
//@ error-pattern:quux
//@ needs-subprocess
fn foo() -> ! {
panic!("quux");
}
fn main() {
foo() == foo(); // these types wind up being defaulted to ()
}