Sign in
rust
/
rust
/
4f8ea98eb3e462eec4a005a4a93dfd21b9525af2
/
.
/
tests
/
ui
/
thir-print
/
c-variadic.rs
blob: a418e17e84c353d86d031fea66d1493adf7b6b78 [
file
]
//@ 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
,
...)
{}