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

5 lines
112 B
Rust

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