rust/tests/ui/feature-gates/feature-gate-start.rs
2023-01-11 09:32:08 +00:00

4 lines
111 B
Rust

#[start]
fn foo(_: isize, _: *const *const u8) -> isize { 0 }
//~^ ERROR `#[start]` functions are experimental