rust/tests/ui/macros/unreachable-static-msg.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
139 B
Rust
Raw Permalink Normal View History

2020-04-16 06:50:32 +00:00
//@ run-fail
//@ error-pattern:internal error: entered unreachable code: uhoh
//@ needs-subprocess
2020-04-16 06:50:32 +00:00
2016-05-27 02:39:36 +00:00
fn main() {
unreachable!("uhoh")
}