summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/DeleteRace.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/DeleteRace.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/DeleteRace.ipdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/DeleteRace.ipdl b/ipc/ipdl/test/ipdl/error/DeleteRace.ipdl
new file mode 100644
index 000000000..992bbabdf
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/DeleteRace.ipdl
@@ -0,0 +1,14 @@
+// XXX kind of a gray area whether |__delete__| should be a part of the
+// top-level protocol. but if it's ever not, this test will break and
+// we'll notice, right?
+protocol DeleteRace {
+parent:
+ async M1();
+
+child:
+ async __delete__();
+
+state START:
+ send __delete__;
+ recv M1 goto START;
+};