Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
multiple_function_definitions.zig
pretty
plain
permalink
blame
history
•
11 lines
•
199 B
1
fn a() void {}
2
fn a() void {}
3
export fn entry() void {
4
a();
5
}
6
7
// error
8
//
9
// :1:4: error: duplicate struct member name 'a'
10
// :2:4: note: duplicate name here
11
// :1:1: note: struct declared here