mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 19:00:52 +08:00
29 lines
368 B
Plaintext
29 lines
368 B
Plaintext
#exe {
|
|
-Mroot=main.zig
|
|
#}
|
|
|
|
#write main.zig {
|
|
const std = @import("std");
|
|
pub fn main() !void {}
|
|
#}
|
|
#update
|
|
#check stdout {
|
|
#}
|
|
|
|
#write main.zig {
|
|
pub fn main() !void {
|
|
#}
|
|
#update {
|
|
introduce parse error#}
|
|
#check errors {
|
|
main.zig:2:1: error: expected statement, found 'EOF'
|
|
#}
|
|
|
|
#write main.zig {
|
|
pub fn main() !void {}
|
|
#}
|
|
#update {
|
|
fix parse error#}
|
|
#check stdout {
|
|
#}
|