blob: 71e5ddccc582d1374eac4c4df675d26247b6a8b1 [file] [log] [blame]
// 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 fidl.llcpp.types.test;
struct CopyableStruct {
int32 x;
};
struct MoveOnlyStruct {
handle? h;
};
/// Verifies that user code can manipulate these union payloads.
union TestUnion {
int32 primitive;
CopyableStruct copyable;
MoveOnlyStruct move_only;
};
protocol TestInterface {
TestMethod(TestUnion u) -> (TestUnion u);
};