| // Copyright 2019 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.fidlcodec.examples; | |
| protocol FidlCodecXUnion { | |
| SendAfterMigration(NowAsXUnion u, int32 i); | |
| }; | |
| flexible union NowAsXUnion { | |
| 1: uint8 variant_u8; | |
| 2: uint16 variant_u16; | |
| }; | |
| union OriginalUnion { | |
| 1: uint8 variant_u8; | |
| 2: uint16 variant_u16; | |
| }; |