| // Copyright 2020 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 test.conformance; |
| |
| type StrictBitsUint8 = strict bits : uint8 { |
| A = 0x1; |
| B = 0x2; |
| }; |
| |
| type StrictBitsUint16 = strict bits : uint16 { |
| A = 0x1; |
| B = 0x2; |
| }; |
| |
| type StrictBitsUint32 = strict bits : uint32 { |
| A = 0x1; |
| B = 0x2; |
| }; |
| |
| type StrictBitsUint64 = strict bits : uint64 { |
| A = 0x1; |
| B = 0x2; |
| }; |
| |
| type StrictBitsUint8Struct = struct { |
| b StrictBitsUint8; |
| }; |
| |
| type StrictBitsUint16Struct = struct { |
| b StrictBitsUint16; |
| }; |
| |
| type StrictBitsUint32Struct = struct { |
| b StrictBitsUint32; |
| }; |
| |
| type StrictBitsUint64Struct = struct { |
| b StrictBitsUint64; |
| }; |