Index: mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom b/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom |
index 705650bc18774a4cbc672337735c489d2e58c9b3..6a6b6e25c076b329d025f3225749e34cfd3aee0d 100644 |
--- a/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom |
+++ b/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom |
@@ -90,6 +90,7 @@ interface ConformanceTestInterface { |
Method16(map<EnumA, EnumA>? param0); |
Method17(array<InterfaceA> param0); |
Method18(UnionA? param0); |
+ Method19(Recursive recursive); |
}; |
struct BasicStruct { |
@@ -117,3 +118,8 @@ struct StructWithEnum { |
A, B, C, D |
}; |
}; |
+ |
+// This is used to test that deeply recursive structures don't blow the stack. |
+struct Recursive { |
+ Recursive? recursive; |
+}; |