blob: a7696fffda0c2976818a04964dabae1e2f844761 [file] [log] [blame]
// error-pattern:quux
fn foo() -> ! {
panic!("quux");
}
#[allow(resolve_trait_on_defaulted_unit)]
fn main() {
foo() == foo(); // these types wind up being defaulted to ()
}