Skip to content

behavior test failure aarch64-windows: page aligned array on stack #13679

@kubkon

Description

@kubkon

Zig Version

0.11.0-dev.343+4e078941d

Steps to Reproduce and Observed Behavior

$ zig test .\test\behavior\align.zig -Itest
Test [14/29] test.page aligned array on stack... FAIL (TestUnexpectedResult)
C:\Users\kubko\dev\zig\stage3\lib\zig\std\testing.zig:347:14: 0x7ff6b1fc1033 in expect (test.exe.obj)
    if (!ok) return error.TestUnexpectedResult;
             ^
C:\Users\kubko\dev\zig\test\behavior\align.zig:282:5: 0x7ff6b1fc1c87 in test.page aligned array on stack (test.exe.obj)
    try expect(@ptrToInt(&array[0]) & 0xFFF == 0);
    ^
Test [25/29] test.align(@alignOf(T)) T does not force resolution of T... SKIP
27 passed; 1 skipped; 1 failed.
error: the following test command failed with exit code 1:
C:\Users\kubko\dev\zig\zig-cache\o\0b41c8530d78f1720c1bd57cf0c8bb33\test.exe

Expected Behavior

Tests should pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-aarch6464-bit Armbackend-cThe C backend (CBE) outputs C source code.backend-llvmThe LLVM backend outputs an LLVM IR Module.backend-self-hostedbugObserved behavior contradicts documented or intended behavioros-windowsMicrosoft Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions