rust/tests/ui/c-variadic/variadic-ffi-no-fixed-args.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
127 B
Rust
Raw Normal View History

2020-09-01 16:12:52 -05:00
extern "C" {
fn foo(...);
2020-09-01 16:12:52 -05:00
//~^ ERROR C-variadic function must be declared with at least one named argument
}
fn main() {}