about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-c_variadic.rs
blob: f189f02a26ddfece0718c3932d0f1fb2e610dfee (plain)
1
2
3
4
#![crate_type="lib"]

pub unsafe extern "C" fn test(_: i32, ap: ...) { }
//~^ ERROR C-variadic functions are unstable