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