| // Copyright 2021 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.order6; |
| |
| // The only constraint here is that the name of the dependent library must come lexicographically |
| // after than the present library's name. |
| using banjo.examples.order7; |
| |
| type Foo = strict union { |
| 1: code uint64; |
| 2: one banjo.examples.order7.One; |
| }; |
| |
| type Bar = struct { |
| two banjo.examples.order7.Two; |
| value int32; |
| }; |
| |
| type Random = strict enum : int8 { |
| ONE = 2; |
| TWO = 7; |
| THREE = 3; |
| }; |