rust/tests/ui/parser/parse-panic.rs

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

9 lines
133 B
Rust
Raw Normal View History

// run-pass
#![allow(dead_code)]
#![allow(unreachable_code)]
2015-01-25 21:05:03 +00:00
fn dont_call_me() { panic!(); println!("{}", 1); }
pub fn main() { }