rust/tests/ui/c-variadic/variadic-ffi-no-fixed-args.rs
2023-01-11 09:32:08 +00:00

7 lines
127 B
Rust

extern "C" {
fn foo(...);
//~^ ERROR C-variadic function must be declared with at least one named argument
}
fn main() {}