| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| library banjo.examples.alignment; |
| |
| @packed |
| type packing_0 = struct { |
| i16_0 int16; |
| i32_0 int32; |
| i16_1 int16; |
| }; |
| |
| @packed |
| type packing_1 = struct { |
| i16_0 int16; |
| i8_0 int8; |
| i16_1 int16; |
| i8_1 int8; |
| }; |
| |
| @packed |
| type packing_2 = struct { |
| i16_0 int16; |
| i8_0 int8; |
| i8_1 int8; |
| i16_1 int16; |
| }; |
| |
| @packed |
| type packing_3 = struct { |
| i32_0 int32; |
| i64_0 int64; |
| i16_0 int16; |
| i32_1 int32; |
| i16_1 int16; |
| }; |