2020-04-16 15:50:32 +09:00
|
|
|
// run-fail
|
2015-03-30 04:56:24 -04:00
|
|
|
// error-pattern:quux
|
2020-05-08 00:39:02 +09:00
|
|
|
// ignore-emscripten no processes
|
2020-04-16 15:50:32 +09:00
|
|
|
|
2016-05-27 08:09:36 +05:30
|
|
|
fn foo() -> ! {
|
|
|
|
panic!("quux");
|
|
|
|
}
|
2017-10-21 19:41:27 +03:00
|
|
|
|
2014-10-24 21:17:50 +02:00
|
|
|
fn main() {
|
2015-03-30 04:56:24 -04:00
|
|
|
foo() == foo(); // these types wind up being defaulted to ()
|
2014-10-24 21:17:50 +02:00
|
|
|
}
|