Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
wrong_number_of_arguments.zig
pretty
plain
permalink
blame
history
•
13 lines
•
203 B
1
export fn a() void {
2
c(1);
3
}
4
fn c(d: i32, e: i32, f: i32) void {
5
_ = d;
6
_ = e;
7
_ = f;
8
}
9
10
// error
11
//
12
// :2:5: error: expected 3 argument(s), found 1
13
// :4:1: note: function declared here