blob: b60553a89f8f7fb4f33c92b3a8196c8547ba7c11 [file] [log] [blame]
// Copyright 2020 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.test.collision;
protocol NameCollision {};
type UnionCollision = strict union {
1: foo uint32;
};
type NullableUnionCollision = strict union {
1: foo uint32;
};
protocol ReturnsCollision {
NameCollision() -> (resource struct {
collision client_end:NameCollision;
});
UnionCollision(struct {
collision UnionCollision;
}) -> ();
NullableUnionCollision(struct {
collision NullableUnionCollision:optional;
}) -> ();
};