mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 16:12:33 +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
|