aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/non-extern_function_with_var_args.zig
blob: 4272634b5e1f88b6871b5f0dcd77ba24340411cb (plain)
1
2
3
4
5
6
7
8
fn foo(args: ...) void {}
export fn entry() void {
    foo();
}

// error
//
// :1:14: error: expected type expression, found '...'