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

// error
// backend=stage2
// target=native
//
// :1:14: error: expected type expression, found '...'