summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl b/ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl
new file mode 100644
index 0000000000..951f916c57
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/undefSelfRecUnion.ipdl
@@ -0,0 +1,7 @@
+//error: union `X' is only partially defined
+
+union X { X; };
+
+protocol undefSelfRecUnion {
+child: async __delete__(X x);
+};