rust/tests/ui/attributes/main-removed-2/main.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
203 B
Rust
Raw Normal View History

//@ 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")
}