Index: mojo/public/interfaces/bindings/tests/test_unions.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/test_unions.mojom b/mojo/public/interfaces/bindings/tests/test_unions.mojom |
index eae8ce6344cbc621718d7a2fa296aa5d3c22e2e5..aad0a4b196f1cccedba1ddd64eb549a1b8a8f11f 100644 |
--- a/mojo/public/interfaces/bindings/tests/test_unions.mojom |
+++ b/mojo/public/interfaces/bindings/tests/test_unions.mojom |
@@ -23,3 +23,22 @@ union ObjectUnion { |
int8 f_int8; |
string f_string; |
}; |
+ |
+struct DummyStruct { |
+ int8 f_int8; |
+}; |
+ |
+struct SmallStruct { |
+ DummyStruct? dummy_struct; |
+ PodUnion pod_union; |
+ array<PodUnion>? pod_union_array; |
+ array<DummyStruct>? s_array; |
+}; |
+ |
+struct SmallStructNullableUnion { |
+ PodUnion? pod_union; |
+}; |
+ |
+struct SmallObjStruct { |
+ ObjectUnion obj_union; |
+}; |