diff --git a/stage0/corpus.zig b/stage0/corpus.zig index f21f66aa1c..3cfc1dc154 100644 --- a/stage0/corpus.zig +++ b/stage0/corpus.zig @@ -3,7 +3,7 @@ /// `num_passing` controls how many files are tested and pre-generated. /// Both build.zig and stages_test.zig import this file. /// To enable more tests: just increment `num_passing`. -pub const num_passing: usize = 6; +pub const num_passing: usize = 7; pub const files = [_][]const u8{ "stage0/sema_tests/empty.zig", diff --git a/stage0/sema_tests/identity_function.zig b/stage0/sema_tests/identity_function.zig index 3a6d185ef2..885865927c 100644 --- a/stage0/sema_tests/identity_function.zig +++ b/stage0/sema_tests/identity_function.zig @@ -1 +1,3 @@ -export fn f(x: u32) u32 { return x; } +export fn f(x: u32) u32 { + return x; +}