diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl b/ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl new file mode 100644 index 0000000000..104ced1c72 --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl @@ -0,0 +1,10 @@ +// inside_sync nested messages must be sync + +//error: inside_sync nested messages must be sync (here, message `Msg' in protocol `AsyncInsideSync') +//error: message `Msg' requires more powerful send semantics than its protocol `AsyncInsideSync' provides + +[ChildProc=any] +protocol AsyncInsideSync { +child: + [Nested=inside_sync] async Msg(); +}; |