| ... | @@ -3341,7 +3341,6 @@ fn doTheTest() !void { | ... | @@ -3341,7 +3341,6 @@ fn doTheTest() !void { |
| 3341 | Zig allows the address to be taken of a non-byte-aligned field: | 3341 | Zig allows the address to be taken of a non-byte-aligned field: |
| 3342 | </p> | 3342 | </p> |
| 3343 | {#code_begin|test|pointer_to_non-byte_aligned_field#} | 3343 | {#code_begin|test|pointer_to_non-byte_aligned_field#} |
| 3344 | {#backend_stage1#} | | |
| 3345 | const std = @import("std"); | 3344 | const std = @import("std"); |
| 3346 | const expect = std.testing.expect; | 3345 | const expect = std.testing.expect; |
| 3347 | | 3346 | |
| ... | @@ -3398,7 +3397,6 @@ fn bar(x: *const u3) u3 { | ... | @@ -3398,7 +3397,6 @@ fn bar(x: *const u3) u3 { |
| 3398 | Pointers to non-ABI-aligned fields share the same address as the other fields within their host integer: | 3397 | Pointers to non-ABI-aligned fields share the same address as the other fields within their host integer: |
| 3399 | </p> | 3398 | </p> |
| 3400 | {#code_begin|test|packed_struct_field_addrs#} | 3399 | {#code_begin|test|packed_struct_field_addrs#} |
| 3401 | {#backend_stage1#} | | |
| 3402 | const std = @import("std"); | 3400 | const std = @import("std"); |
| 3403 | const expect = std.testing.expect; | 3401 | const expect = std.testing.expect; |
| 3404 | | 3402 | |
| ... | @@ -3463,9 +3461,6 @@ test "overaligned pointer to packed struct" { | ... | @@ -3463,9 +3461,6 @@ test "overaligned pointer to packed struct" { |
| 3463 | try expect(ptr_to_b.* == 2); | 3461 | try expect(ptr_to_b.* == 2); |
| 3464 | } | 3462 | } |
| 3465 | {#code_end#} | 3463 | {#code_end#} |
| 3466 | <p>When this bug is fixed, the above test in the documentation will unexpectedly pass, which will | | |
| 3467 | cause the test suite to fail, notifying the bug fixer to update these docs. | | |
| 3468 | </p> | | |
| 3469 | <p> | 3464 | <p> |
| 3470 | It's also possible to set alignment of struct fields: | 3465 | It's also possible to set alignment of struct fields: |
| 3471 | </p> | 3466 | </p> |