mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 09:32:31 +00:00
13 lines
218 B
Zig
13 lines
218 B
Zig
export fn entry() void {
|
|
while(true):({}) {}
|
|
var good = {};
|
|
while(true):({}) ({})
|
|
var bad = {};
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :4:26: error: expected ';' or 'else' after statement
|