Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
thir-print
/
c-variadic.rs
blob: a418e17e84c353d86d031fea66d1493adf7b6b78 [
file
] [
log
] [
blame
]
//@ compile-flags: -Zunpretty=thir-tree --crate-type=lib
//@ check-pass
#![
feature
(
c_variadic
)]
#![
expect
(
varargs_without_pattern
)]
// The `...` argument uses `PatKind::Missing`.
unsafe
extern
"C"
fn
foo
(
_
:
i32
,
...)
{}