diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-06 22:27:32 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-25 05:11:28 -0400 |
| commit | 525dcaecba43f9931aff69fd7dd0cd5b443c2859 (patch) | |
| tree | 75990c8d6e4948cb35f1993a156de477357fb54a /test/behavior/alignof.zig | |
| parent | 45c667eb21b1edde991435871523ece82793b449 (diff) | |
| download | zig-525dcaecba43f9931aff69fd7dd0cd5b443c2859.tar.gz zig-525dcaecba43f9931aff69fd7dd0cd5b443c2859.zip | |
behavior: enable stage2_c tests that are currently passing
Also fix C warnings triggered by these tests.
Diffstat (limited to 'test/behavior/alignof.zig')
| -rw-r--r-- | test/behavior/alignof.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/alignof.zig b/test/behavior/alignof.zig index d6491ff22e..4dd62906c4 100644 --- a/test/behavior/alignof.zig +++ b/test/behavior/alignof.zig @@ -12,7 +12,6 @@ const Foo = struct { test "@alignOf(T) before referencing T" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; comptime try expect(@alignOf(Foo) != maxInt(usize)); if (native_arch == .x86_64) { comptime try expect(@alignOf(Foo) == 4); @@ -20,7 +19,6 @@ test "@alignOf(T) before referencing T" { } test "comparison of @alignOf(T) against zero" { - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; { const T = struct { x: u32 }; try expect(!(@alignOf(T) == 0)); |
