mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
12 lines
199 B
Zig
12 lines
199 B
Zig
fn a() void {}
|
|
fn a() void {}
|
|
export fn entry() void {
|
|
a();
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :1:4: error: duplicate struct member name 'a'
|
|
// :2:4: note: duplicate name here
|
|
// :1:1: note: struct declared here
|