mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
2 files changed
+15
-1
No files matched your search
@@ -993,7 +993,7 @@ fn renderNode(c: *Context, node: Node) Allocator.Error!NodeIndex {
|
|||||||
.main_token = try c.addToken(.keyword_continue, "continue"),
|
.main_token = try c.addToken(.keyword_continue, "continue"),
|
||||||
.data = .{
|
.data = .{
|
||||||
.lhs = 0,
|
.lhs = 0,
|
||||||
.rhs = undefined,
|
.rhs = 0,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
.return_void => return c.addNode(.{
|
.return_void => return c.addNode(.{
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
void foo() {
|
||||||
|
for (;;) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// translate-c
|
||||||
|
// c_frontend=clang
|
||||||
|
//
|
||||||
|
// pub export fn foo() void {
|
||||||
|
// while (true) {
|
||||||
|
// continue;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
Reference in new issue
Block a user