summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl b/ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl
new file mode 100644
index 0000000000..1936fda2bb
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/PToplevelManualDealloc.ipdl
@@ -0,0 +1,7 @@
+//error: Toplevel protocols cannot be [ManualDealloc]
+
+[ManualDealloc, ChildProc=any]
+async protocol PToplevelManualDealloc {
+child:
+ async __delete__();
+};