summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh')
-rw-r--r--ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh b/ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh
new file mode 100644
index 0000000000..8351adf4cc
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/noProtocolInHeader.ipdlh
@@ -0,0 +1,6 @@
+//error: can't define a protocol in a header. Do it in a protocol spec instead.
+
+protocol noProtocolInHeader {
+child:
+ async __delete__();
+};