diff options
Diffstat (limited to 'test/cases/compile_errors/implicitly_increasing_slice_alignment.zig')
| -rw-r--r-- | test/cases/compile_errors/implicitly_increasing_slice_alignment.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/compile_errors/implicitly_increasing_slice_alignment.zig b/test/cases/compile_errors/implicitly_increasing_slice_alignment.zig index 84ec6464f4..171936097d 100644 --- a/test/cases/compile_errors/implicitly_increasing_slice_alignment.zig +++ b/test/cases/compile_errors/implicitly_increasing_slice_alignment.zig @@ -4,7 +4,7 @@ const Foo = packed struct { }; export fn entry() void { - var foo = Foo { .a = 1, .b = 10 }; + var foo = Foo{ .a = 1, .b = 10 }; foo.b += 1; bar(@as(*[1]u32, &foo.b)[0..]); } |
