Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
implicit_semicolon-while-continue_statement.zig
pretty
plain
permalink
blame
history
•
12 lines
•
210 B
1
export fn entry() void {
2
while(true):({}) {}
3
var good = {};
4
while(true):({}) ({})
5
var bad = {};
6
_ = good;
7
_ = bad;
8
}
9
10
// error
11
//
12
// :4:26: error: expected ';' or 'else' after statement