blob: faeccaace6987fe86911190e816ec911b870bcb2 [file] [log] [blame]
// Test that return another type in place of ! raises a type mismatch.
fn fail() -> ! {
return "wow"; //~ ERROR mismatched types
}
fn main() {
}