summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl b/ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl
new file mode 100644
index 0000000000..49e4d3b75b
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/tooWeakSyncAsync.ipdl
@@ -0,0 +1,9 @@
+//error: message `Msg' requires more powerful send semantics than its protocol `tooWeakSyncAsync' provides
+
+protocol tooWeakSyncAsync {
+
+ // it's an error to declare an async protocol with a sync message
+
+parent: sync Msg();
+
+};