authorgravatar for noam@pixelhero.devNoam Preil <noam@pixelhero.dev> 2020-05-25 16:26:51-04:00
committergravatar for noam@pixelhero.devNoam Preil <noam@pixelhero.dev> 2020-06-15 17:51:43-04:00
log2d1d012f1194e1e26f123891e12921d59ffe9e10
tree6116125c4cf028101fc70d94a2bb23662fd5c2f4
parente030414c163c6f9a3c2fc8291b2d5917e78688de
signature Commit is signed but in an unrecognized format.

[Stage2/Testing] Reduce test


1 files changed, 1 insertions(+), 3 deletions(-)

test/stage2/compile_errors.zig+1-3
...@@ -13,15 +13,13 @@ pub fn addCases(ctx: *TestContext) !void {...@@ -13,15 +13,13 @@ pub fn addCases(ctx: *TestContext) !void {
13 // https://github.com/ziglang/zig/issues/136413 // https://github.com/ziglang/zig/issues/1364
14 ctx.addZIRError("test", linux_x64,14 ctx.addZIRError("test", linux_x64,
15 \\@noreturn = primitive(noreturn)15 \\@noreturn = primitive(noreturn)
16 \\@void = primitive(void)
17 \\@usize = primitive(usize)
18 \\16 \\
19 \\@start_fnty = fntype([], @noreturn, cc=Naked)17 \\@start_fnty = fntype([], @noreturn, cc=Naked)
20 \\@start = fn(@start_fnty, {18 \\@start = fn(@start_fnty, {
21 \\ %0 = call(%test, [])19 \\ %0 = call(%test, [])
22 \\})20 \\})
23 , &[_]ErrorMsg{.{21 , &[_]ErrorMsg{.{
24 .byte_offset = 168,22 .byte_offset = 118,
25 .msg = "unrecognized identifier: %test",23 .msg = "unrecognized identifier: %test",
26 }}, &[_]ErrorMsg{}, &[_]ErrorMsg{});24 }}, &[_]ErrorMsg{}, &[_]ErrorMsg{});
2725