rust/tests/ui/test-attrs/test-main-not-dead.rs

7 lines
85 B
Rust

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