rust/tests/ui/parser/parse-panic.rs
2024-02-16 20:02:50 +00:00

9 lines
134 B
Rust

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