rust/src/test/ui/parse-panic.rs
2019-07-27 18:56:16 +03:00

9 lines
133 B
Rust

// run-pass
#![allow(dead_code)]
#![allow(unreachable_code)]
fn dont_call_me() { panic!(); println!("{}", 1); }
pub fn main() { }