rust/tests/ui/crate_level_checks/entrypoint_recursion.rs
2024-09-09 17:05:31 +02:00

12 lines
182 B
Rust

//@ignore-target: apple
#![feature(rustc_attrs)]
#[warn(clippy::main_recursion)]
#[allow(unconditional_recursion)]
#[rustc_main]
fn a() {
println!("Hello, World!");
a();
}