Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-c_variadic.rs
blob: 649816b48d7849333817066763a89bb2e531b63f [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
pub
unsafe
extern
"C"
fn
test
(
_
:
i32
,
ap
:
...)
{}
//~^ ERROR C-variadic functions are unstable
trait
Trait
{
unsafe
extern
"C"
fn
trait_test
(
_
:
i32
,
ap
:
...)
{}
//~^ ERROR C-variadic functions are unstable
}