mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
20 lines
473 B
Text
20 lines
473 B
Text
#target=x86_64-linux-selfhosted
|
|
#target=x86_64-windows-selfhosted
|
|
#target=x86_64-linux-cbe
|
|
#target=x86_64-windows-cbe
|
|
#target=wasm32-wasi-selfhosted
|
|
#update=initial version
|
|
#file=main.zig
|
|
const std = @import("std");
|
|
pub fn main() !void {}
|
|
#expect_stdout=""
|
|
|
|
#update=introduce parse error
|
|
#file=main.zig
|
|
pub fn main() !void {
|
|
#expect_error=main.zig:2:1: error: expected statement, found 'EOF'
|
|
|
|
#update=fix parse error
|
|
#file=main.zig
|
|
pub fn main() !void {}
|
|
#expect_stdout=""
|