summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl b/ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl
new file mode 100644
index 0000000000..9dff6a2152
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/maybe_SelfRecStruct.ipdl
@@ -0,0 +1,10 @@
+//error: struct `X' is only partially defined
+
+struct X {
+ X? x;
+};
+
+[ChildProc=any]
+protocol maybe_SelfRecStruct {
+child: async Msg(X? aa);
+};