diff options
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl')
-rw-r--r-- | ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl | 9 |
1 files changed, 9 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..d2fa481e7f --- /dev/null +++ b/ipc/ipdl/test/ipdl/error/AsyncInsideSync.ipdl @@ -0,0 +1,9 @@ +// 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 + +protocol AsyncInsideSync { +child: + [Nested=inside_sync] async Msg(); +}; |