blob: 21a05dc4b40be48306b732d9ef661f45b4c36419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ 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")
}
|