summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/main-removed-2/main.rs
blob: e8fecf825fa83b6f7e4e08162a2c6d1814e1cd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// aux-build:tokyo.rs
// compile-flags:--extern tokyo
// edition:2021

use tokyo::main;

#[main]
fn main() {
    panic!("the #[main] macro should replace this with non-panicking code")
}