summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/dtorReserved.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/ipdl/error/dtorReserved.ipdl')
-rw-r--r--ipc/ipdl/test/ipdl/error/dtorReserved.ipdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipc/ipdl/test/ipdl/error/dtorReserved.ipdl b/ipc/ipdl/test/ipdl/error/dtorReserved.ipdl
new file mode 100644
index 0000000000..51833489be
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/dtorReserved.ipdl
@@ -0,0 +1,10 @@
+//error: lexically invalid characters `~SomeMsg();
+
+protocol dtorReserved {
+
+ // it's an error to use old-style dtor syntax
+
+child:
+ ~SomeMsg();
+
+};