rust/src/test/run-fail/doublepanic.rs

8 lines
102 B
Rust
Raw Normal View History

#![allow(unreachable_code)]
2013-08-17 10:37:42 -05:00
2016-05-26 21:39:36 -05:00
// error-pattern:One
fn main() {
panic!("One");
panic!("Two");
}