| // Copyright 2022 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 test.conformance; |
| |
| type EmptyStruct = struct {}; |
| |
| type OneEmptyStructInStruct = struct { |
| v EmptyStruct; |
| }; |
| |
| type TwoEmptyStructsInStruct = struct { |
| a EmptyStruct; |
| b EmptyStruct; |
| }; |
| |
| type EmptyStructsInArrayInStruct = struct { |
| v array<EmptyStruct, 4>; |
| }; |
| |
| type EmptyStructsInVectorInStruct = struct { |
| v vector<EmptyStruct>; |
| }; |
| |
| type TwoEmptyStructsInStructInVectorInStruct = struct { |
| v vector<TwoEmptyStructsInStruct>; |
| }; |
| |
| type OptionalEmptyStructWrapper = struct { |
| s box<EmptyStruct>; |
| }; |