summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl b/ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl
new file mode 100644
index 0000000000..4338555952
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl
@@ -0,0 +1,9 @@
+// inside_cpow nested parent-to-child messages are verboten
+
+//error: inside_cpow nested parent-to-child messages are verboten (here, message `Msg' in protocol `InsideCpowToChild')
+//error: message `Msg' requires more powerful send semantics than its protocol `InsideCpowToChild' provides
+
+protocol InsideCpowToChild {
+child:
+ [Nested=inside_cpow] sync Msg();
+};