summaryrefslogtreecommitdiffstats
path: root/tests/ui/c-variadic/variadic-ffi-no-fixed-args.rs
blob: 588c15a1829773dd3b48290f7ab277cae276b2f1 (plain)
1
2
3
4
5
6
extern "C" {
    fn foo(...);
//~^ ERROR C-variadic function must be declared with at least one named argument
}

fn main() {}