zig/test/cases/compile_errors/undeclared_identifier.zig
Eric Joldasov 50339f595a all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-19 12:34:42 -07:00

9 lines
139 B
Zig

export fn a() void {
return b + c;
}
// error
// backend=stage2
// target=native
//
// :2:12: error: use of undeclared identifier 'b'