13 lines
230 B
Rust
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")
|
|
}
|