rust/tests/ui/test-attrs/test-main-not-dead.rs
2024-02-16 20:02:50 +00:00

7 lines
85 B
Rust

//@ run-pass
//@ compile-flags: --test
#![deny(dead_code)]
fn main() { panic!(); }