blob: f22bc588c3824c6710cf85df57943b3d469bb71d [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 conformance;
[BindingsDenylist = "dart"]
struct RecursiveOptionalStruct {
RecursiveOptionalStruct? inner;
};
// Wrap with an extra layer of struct and array which should not add any more
// out of line recursion depth.
[BindingsDenylist = "dart"]
struct RecursiveOptionalStructArrayWrapper {
array<RecursiveOptionalStruct>:1 arr;
};
[BindingsDenylist = "dart"]
union RecursiveOptionalAndUnion {
1: RecursiveOptionalStruct recursive_optional;
};
[BindingsDenylist = "dart"]
struct RecursiveOptionalAndUnionStruct {
RecursiveOptionalAndUnion u;
};
[BindingsDenylist = "dart"]
table RecursiveOptionalAndTable {
1: RecursiveOptionalStruct recursive_optional;
};
[BindingsDenylist = "dart"]
struct RecursiveOptionalAndTableStruct {
RecursiveOptionalAndTable t;
};
[BindingsDenylist = "dart"]
struct RecursiveOptionalAndVectorStruct {
vector<RecursiveOptionalStruct> vec;
};
[BindingsDenylist = "dart"]
struct RecursiveOptionalStructWithString {
RecursiveOptionalStructWithString? inner;
string? str;
};