]> git.lizzy.rs Git - rust.git/blob - tests/ui/test-attrs/test-main-not-dead-attr.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / test-attrs / test-main-not-dead-attr.rs
1 // run-pass
2 // compile-flags: --test
3
4 #![feature(rustc_attrs)]
5
6 #![deny(dead_code)]
7
8 #[rustc_main]
9 fn foo() { panic!(); }