blob: 5fad02dc0b46b3141fcb1fd3a8050b51e24ffadd [file]
// 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.union;
type FormerlyWithoutOrdinal = strict union {
1: one string;
2: two int8;
3: three array<uint32, 3>;
};
type WithOrdinal = strict union {
1: one string;
2: two int8;
3: three array<uint32, 3>;
};