rust/tests/ui/panics/panic-macro-explicit.rs

9 lines
133 B
Rust

// run-fail
// error-pattern:panicked
// error-pattern:explicit panic
// ignore-emscripten no processes
fn main() {
panic!();
}