Files
rust/tests/ui/attributes/main-removed-2/main.rs
2025-09-26 15:33:48 +02:00

13 lines
230 B
Rust

//@ run-pass
//@ proc-macro: tokyo.rs
//@ compile-flags:--extern tokyo
//@ edition:2021
//@ ignore-backends: gcc
use tokyo::main;
#[main]
fn main() {
panic!("the #[main] macro should replace this with non-panicking code")
}