diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl | 10 |
1 files changed, 10 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..054964a817 --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/InsideCpowToChild.ipdl @@ -0,0 +1,10 @@ +// 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 + +[ChildProc=any] +protocol InsideCpowToChild { +child: + [Nested=inside_cpow] sync Msg(); +}; |