summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl b/ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl
new file mode 100644
index 0000000000..91ff4f4769
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/PManagerManualDealloc.ipdl
@@ -0,0 +1,13 @@
+//error: [ManualDealloc] protocols cannot be managers
+
+include protocol PManagerManualDeallocTop;
+include protocol PManagerManualDeallocManaged;
+
+[ManualDealloc]
+async protocol PManagerManualDealloc {
+ manager PManagerManualDeallocTop;
+ manages PManagerManualDeallocManaged;
+
+child:
+ async __delete__();
+};