summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl b/ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl
new file mode 100644
index 0000000000..bc36cead42
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/noEmptyToplevel.ipdl
@@ -0,0 +1,7 @@
+//error: top-level protocol `noEmptyToplevel' cannot be empty
+
+protocol noEmptyToplevel {
+
+ // it's an error for top-level protocols to be empty
+
+};