mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
[Stage2/Testing] Reduce test
This commit is contained in:
parent
e030414c16
commit
2d1d012f11
@ -13,15 +13,13 @@ pub fn addCases(ctx: *TestContext) !void {
|
||||
// https://github.com/ziglang/zig/issues/1364
|
||||
ctx.addZIRError("test", linux_x64,
|
||||
\\@noreturn = primitive(noreturn)
|
||||
\\@void = primitive(void)
|
||||
\\@usize = primitive(usize)
|
||||
\\
|
||||
\\@start_fnty = fntype([], @noreturn, cc=Naked)
|
||||
\\@start = fn(@start_fnty, {
|
||||
\\ %0 = call(%test, [])
|
||||
\\})
|
||||
, &[_]ErrorMsg{.{
|
||||
.byte_offset = 168,
|
||||
.byte_offset = 118,
|
||||
.msg = "unrecognized identifier: %test",
|
||||
}}, &[_]ErrorMsg{}, &[_]ErrorMsg{});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user