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