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

5 lines
112 B
Rust

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