]> git.proxmox.com Git - rustc.git/blob - tests/ui/attributes/main-removed-2/main.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / attributes / main-removed-2 / main.rs
1 // run-pass
2 // aux-build:tokyo.rs
3 // compile-flags:--extern tokyo
4 // edition:2021
5
6 use tokyo::main;
7
8 #[main]
9 fn main() {
10 panic!("the #[main] macro should replace this with non-panicking code")
11 }