summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-c_variadic.rs
blob: 8b40c36c7db5e1b68728f6f1b45f36d75f6f2bf9 (plain)
1
2
3
4
#![crate_type="lib"]

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