rust/tests/ui/feature-gates/feature-gate-c_variadic.rs
2025-04-08 23:06:31 +03:00

5 lines
118 B
Rust

#![crate_type="lib"]
pub unsafe extern "C" fn test(_: i32, ap: ...) { }
//~^ ERROR C-variadic functions are unstable