summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/parse-panic.rs
blob: aeb2ba4faa54ac25e90784ff21f0ba48783bd55f (plain)
1
2
3
4
5
6
7
8
// run-pass

#![allow(dead_code)]
#![allow(unreachable_code)]

fn dont_call_me() { panic!(); println!("{}", 1); }

pub fn main() { }