rust/tests/ui/feature-gates/feature-gate-start.rs

4 lines
111 B
Rust

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