Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
deduplicate_undeclared_identifier.zig
pretty
plain
permalink
blame
history
•
11 lines
•
181 B
1
export fn a() void {
2
x += 1;
3
}
4
export fn b() void {
5
x += 1;
6
}
7
8
// error
9
//
10
// :2:5: error: use of undeclared identifier 'x'
11
// :5:5: error: use of undeclared identifier 'x'