blob: 732061155d2230c0139fb0340d5d445592d3e58f [file] [log] [blame]
// 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 fidl.examples.xunion;
using zx;
table t {
1: string s;
};
flexible union xu {
1: int32 i;
2: float32 f;
3: string s;
4: vector<int64> v;
5: array<int32>:5 a;
6: handle h;
7: zx.handle:CHANNEL c;
8: zx.handle:EVENT e;
};